OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. | 3 <!-- Copyright 2014 The Chromium Authors. All rights reserved. |
4 | 4 |
5 Use of this source code is governed by a BSD-style license that can be | 5 Use of this source code is governed by a BSD-style license that can be |
6 found in the LICENSE file. | 6 found in the LICENSE file. |
7 --> | 7 --> |
8 | 8 |
9 <manifest xmlns:android="http://schemas.android.com/apk/res/android" | 9 <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
10 package="org.chromium.chrome.sync_shell"> | 10 package="org.chromium.chrome.shell"> |
11 | 11 |
12 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" /> | 12 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="22" /> |
13 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> | 13 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/> |
14 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | 14 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
15 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> | 15 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 16 <uses-permission android:name="android.permission.BLUETOOTH"/> |
| 17 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> |
| 18 <uses-feature android:name="android.hardware.bluetooth_le" android:required=
"false"/> |
16 <uses-permission android:name="android.permission.CAMERA" /> | 19 <uses-permission android:name="android.permission.CAMERA" /> |
17 <uses-permission android:name="android.permission.GET_ACCOUNTS"/> | 20 <uses-permission android:name="android.permission.GET_ACCOUNTS"/> |
18 <uses-permission android:name="android.permission.INTERNET"/> | 21 <uses-permission android:name="android.permission.INTERNET"/> |
19 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> | 22 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/> |
20 <uses-permission android:name="android.permission.NFC"/> | 23 <uses-permission android:name="android.permission.NFC"/> |
21 <uses-permission android:name="android.permission.RECORD_AUDIO"/> | 24 <uses-permission android:name="android.permission.RECORD_AUDIO"/> |
22 <uses-permission android:name="android.permission.VIBRATE"/> | 25 <uses-permission android:name="android.permission.VIBRATE"/> |
23 <uses-permission android:name="android.permission.WAKE_LOCK"/> | 26 <uses-permission android:name="android.permission.WAKE_LOCK"/> |
24 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> | 27 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> |
25 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> | 28 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
26 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> | 29 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
27 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> | 30 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
28 <!-- Only Chrome can receive the messages and registration result for GCM --
> | 31 <!-- Only Chrome can receive the messages and registration result for GCM --
> |
29 <permission android:name="org.chromium.chrome.sync_shell.permission.C2D_MESS
AGE" | 32 <permission android:name="org.chromium.chrome.shell.permission.C2D_MESSAGE" |
30 android:protectionLevel="signature" /> | 33 android:protectionLevel="signature" /> |
31 <uses-permission android:name="org.chromium.chrome.sync_shell.permission.C2D
_MESSAGE" /> | 34 <uses-permission android:name="org.chromium.chrome.shell.permission.C2D_MESS
AGE" /> |
32 <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /
> | 35 <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /
> |
33 | 36 |
| 37 <permission android:name="org.chromium.chrome.shell.permission.DEBUG" |
| 38 android:label="Debug web pages in Chrome Shell" |
| 39 android:permissionGroup="android.permission-group.DEVELOPMENT_TO
OLS" |
| 40 android:protectionLevel="signature" /> |
| 41 |
34 <application android:name="org.chromium.chrome.shell.ChromeShellApplication" | 42 <application android:name="org.chromium.chrome.shell.ChromeShellApplication" |
35 android:icon="@mipmap/app_icon" | 43 android:icon="@mipmap/app_icon" |
36 android:label="Chrome Sync Shell"> | 44 android:label="@string/app_name" |
| 45 android:supportsRtl="true"> |
37 <activity android:name="org.chromium.chrome.shell.ChromeShellActivity" | 46 <activity android:name="org.chromium.chrome.shell.ChromeShellActivity" |
38 android:launchMode="singleTask" | 47 android:launchMode="singleTask" |
39 android:theme="@style/MainTheme" | 48 android:theme="@style/MainTheme" |
40 android:configChanges="orientation|keyboardHidden|keyboard|scr
eenSize" | 49 android:configChanges="orientation|keyboardHidden|keyboard|scr
eenSize" |
41 android:hardwareAccelerated="true"> | 50 android:hardwareAccelerated="true"> |
42 <intent-filter> | 51 <intent-filter> |
43 <action android:name="android.intent.action.MAIN" /> | 52 <action android:name="android.intent.action.MAIN" /> |
44 <category android:name="android.intent.category.LAUNCHER" /> | 53 <category android:name="android.intent.category.LAUNCHER" /> |
| 54 <category android:name="android.intent.category.NOTIFICATION_P
REFERENCES" /> |
45 </intent-filter> | 55 </intent-filter> |
46 </activity> | |
47 <activity android:name="org.chromium.sync.test.util.MockGrantCredentials
PermissionActivity" | |
48 android:exported="true"> | |
49 <intent-filter> | |
50 <action android:name="android.intent.action.VIEW" /> | |
51 <category android:name="android.intent.category.DEFAULT" /> | |
52 </intent-filter> | |
53 </activity> | 56 </activity> |
| 57 |
54 <!-- The following service entries exist in order to allow us to | 58 <!-- The following service entries exist in order to allow us to |
55 start more than one sandboxed process. --> | 59 start more than one sandboxed process. --> |
56 | 60 |
57 <!-- NOTE: If you change the values of "android:process" for any of the
below services, | 61 <!-- NOTE: If you change the value of "android:process" for the below se
rvices, |
58 you also need to update kHelperProcessExecutableName in chrome_cons
tants.cc. --> | 62 you also need to update kHelperProcessExecutableName in chrome_cons
tants.cc. --> |
59 {% set num_sandboxed_services = 20 %} | 63 {% set num_sandboxed_services = 20 %} |
60 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV
ICES" | 64 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERV
ICES" |
61 android:value="{{ num_sandboxed_services }}"/> | 65 android:value="{{ num_sandboxed_services }}"/> |
62 {% for i in range(num_sandboxed_services) %} | 66 {% for i in range(num_sandboxed_services) %} |
63 <service android:name="org.chromium.content.app.SandboxedProcessService{
{ i }}" | 67 <service android:name="org.chromium.content.app.SandboxedProcessService{
{ i }}" |
64 android:process=":sandboxed_process{{ i }}" | 68 android:process=":sandboxed_process{{ i }}" |
65 android:isolatedProcess="true" | 69 android:isolatedProcess="true" |
66 android:exported="false" /> | 70 android:exported="false" /> |
67 {% endfor %} | 71 {% endfor %} |
68 | 72 |
69 {% set num_privileged_services = 3 %} | 73 {% set num_privileged_services = 3 %} |
70 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER
VICES" | 74 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SER
VICES" |
71 android:value="{{ num_privileged_services }}"/> | 75 android:value="{{ num_privileged_services }}"/> |
72 {% for i in range(num_privileged_services) %} | 76 {% for i in range(num_privileged_services) %} |
73 <service android:name="org.chromium.content.app.PrivilegedProcessService
{{ i }}" | 77 <service android:name="org.chromium.content.app.PrivilegedProcessService
{{ i }}" |
74 android:process=":privileged_process{{ i }}" | 78 android:process=":privileged_process{{ i }}" |
75 android:isolatedProcess="false" | 79 android:isolatedProcess="false" |
76 android:exported="false" /> | 80 android:exported="false" /> |
77 {% endfor %} | 81 {% endfor %} |
78 | 82 |
79 <!-- Receiver for GCM messages. Rebroadcasts them locally for sync. --> | |
80 <receiver android:exported="true" | |
81 android:name="com.google.ipc.invalidation.external.client.cont
rib.MultiplexingGcmListener$GCMReceiver" | |
82 android:permission="com.google.android.c2dm.permission.SEND"> | |
83 <intent-filter> | |
84 <action android:name="com.google.android.c2dm.intent.RECEIVE" /> | |
85 <action android:name="com.google.android.c2dm.intent.REGISTRATIO
N" /> | |
86 <category android:name="org.chromium.chrome.shell"/> | |
87 </intent-filter> | |
88 </receiver> | |
89 <service android:exported="false" | |
90 android:name="com.google.ipc.invalidation.external.client.contr
ib.MultiplexingGcmListener"> | |
91 <meta-data android:name="sender_ids" | |
92 android:value="cloudprint.c2dm@gmail.com,ipc.invalidation
@gmail.com"/> | |
93 </service> | |
94 | |
95 <!-- Notification service for sync. --> | 83 <!-- Notification service for sync. --> |
96 <meta-data android:name="ipc.invalidation.ticl.listener_service_class" | 84 <meta-data android:name="ipc.invalidation.ticl.listener_service_class" |
97 android:value="org.chromium.components.invalidation.Invalidat
ionClientService"/> | 85 android:value="org.chromium.components.invalidation.Invalidat
ionClientService"/> |
98 <service android:name="org.chromium.components.invalidation.Invalidation
ClientService" | 86 <service android:name="org.chromium.components.invalidation.Invalidation
ClientService" |
99 android:exported="false"> | 87 android:exported="false"> |
100 <intent-filter> | 88 <intent-filter> |
101 <action android:name="com.google.ipc.invalidation.AUTH_TOKEN_REQ
UEST"/> | 89 <action android:name="com.google.ipc.invalidation.AUTH_TOKEN_REQ
UEST"/> |
102 </intent-filter> | 90 </intent-filter> |
103 </service> | 91 </service> |
104 <service android:exported="false" | 92 <service android:exported="false" |
(...skipping 19 matching lines...) Expand all Loading... |
124 <!-- GCMDriver multiplexed GCM receiver --> | 112 <!-- GCMDriver multiplexed GCM receiver --> |
125 <service android:exported="false" | 113 <service android:exported="false" |
126 android:name="org.chromium.chrome.browser.services.gcm.GCMListe
ner"/> | 114 android:name="org.chromium.chrome.browser.services.gcm.GCMListe
ner"/> |
127 <receiver android:exported="false" | 115 <receiver android:exported="false" |
128 android:name="org.chromium.chrome.browser.services.gcm.GCMList
ener$Receiver"> | 116 android:name="org.chromium.chrome.browser.services.gcm.GCMList
ener$Receiver"> |
129 <intent-filter> | 117 <intent-filter> |
130 <action android:name="com.google.ipc.invalidation.gcmmplex.EVENT
" /> | 118 <action android:name="com.google.ipc.invalidation.gcmmplex.EVENT
" /> |
131 </intent-filter> | 119 </intent-filter> |
132 </receiver> | 120 </receiver> |
133 | 121 |
134 <provider android:name="org.chromium.chrome.browser.ChromeBrowserProvide
r" | |
135 android:authorities="org.chromium.chrome.sync_shell" | |
136 android:exported="true" /> | |
137 | |
138 <!-- Sync adapter for browser invalidation. --> | |
139 <service android:exported="false" | |
140 android:name="org.chromium.chrome.shell.invalidation.ChromeShel
lSyncAdapterService"> | |
141 <intent-filter> | |
142 <action android:name="android.content.SyncAdapter" /> | |
143 </intent-filter> | |
144 <meta-data android:name="android.content.SyncAdapter" | |
145 android:resource="@xml/syncadapter" /> | |
146 </service> | |
147 | |
148 <!-- Broadcast receiver that will be notified of account changes. --> | |
149 <receiver android:name="org.chromium.chrome.shell.signin.AccountsChanged
Receiver"> | |
150 <intent-filter> | |
151 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" /
> | |
152 </intent-filter> | |
153 </receiver> | |
154 <meta-data android:name="org.chromium.content.browser.SMART_CLIP_PROVIDE
R" | |
155 android:value="org.chromium.content.browser.SmartClipProvider
" /> | |
156 | |
157 </application> | 122 </application> |
158 </manifest> | 123 </manifest> |
OLD | NEW |