OLD | NEW |
---|---|
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. | 2 <!-- Copyright 2015 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. --> | 4 found in the LICENSE file. --> |
5 | 5 |
6 <!-- | 6 <!-- |
7 Note: This is a jinja2 template, processed at build time into the final manifest . | 7 Note: This is a jinja2 template, processed at build time into the final manifest . |
8 | 8 |
9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden | 9 Blocks denoted with { % block some_name % }foo{ % endblock % } can be overridden |
10 by a child template that "extends" this file. | 10 by a child template that "extends" this file. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
131 android:resource="@xml/app_restrictions"/> | 131 android:resource="@xml/app_restrictions"/> |
132 | 132 |
133 <!-- Note: All activities directly or indirectly derived from ChromeActi vity | 133 <!-- Note: All activities directly or indirectly derived from ChromeActi vity |
134 must specify android:hardwareAccelerated="false". | 134 must specify android:hardwareAccelerated="false". |
135 | 135 |
136 Since this activity (shown in the launcher) and the application | 136 Since this activity (shown in the launcher) and the application |
137 (shown in Android's Settings/Apps list) share the same label, we | 137 (shown in Android's Settings/Apps list) share the same label, we |
138 do not specify one here to allow it to inherit from the app. --> | 138 do not specify one here to allow it to inherit from the app. --> |
139 <activity android:name="org.chromium.chrome.browser.document.ChromeLaunc herActivity" | 139 <activity android:name="org.chromium.chrome.browser.document.ChromeLaunc herActivity" |
140 android:theme="@android:style/Theme.Translucent.NoTitleBar" | 140 android:theme="@android:style/Theme.Translucent.NoTitleBar" |
141 android:relinquishTaskIdentity="true"> | 141 android:relinquishTaskIdentity="true" |
142 android:taskAffinity="" | |
Maria
2016/06/17 22:35:51
The only thing I don't understand is why this does
Ted C
2016/06/20 15:49:16
That was only added in Lollipop, so it can't be th
| |
143 android:excludeFromRecents="true"> | |
142 </activity> | 144 </activity> |
143 <activity-alias android:name="com.google.android.apps.chrome.Main" | 145 <activity-alias android:name="com.google.android.apps.chrome.Main" |
144 android:targetActivity="org.chromium.chrome.browser.document.ChromeL auncherActivity" | 146 android:targetActivity="org.chromium.chrome.browser.document.ChromeL auncherActivity" |
145 android:exported="true"> | 147 android:exported="true"> |
146 <intent-filter> | 148 <intent-filter> |
147 <action android:name="android.intent.action.MAIN" /> | 149 <action android:name="android.intent.action.MAIN" /> |
148 <category android:name="android.intent.category.DEFAULT" /> | 150 <category android:name="android.intent.category.DEFAULT" /> |
149 <category android:name="android.intent.category.LAUNCHER" /> | 151 <category android:name="android.intent.category.LAUNCHER" /> |
150 <category android:name="android.intent.category.BROWSABLE" /> | 152 <category android:name="android.intent.category.BROWSABLE" /> |
151 <category android:name="android.intent.category.APP_BROWSER" /> | 153 <category android:name="android.intent.category.APP_BROWSER" /> |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
274 android:theme="@style/MainTheme" | 276 android:theme="@style/MainTheme" |
275 android:exported="false" | 277 android:exported="false" |
276 android:taskAffinity="" | 278 android:taskAffinity="" |
277 android:windowSoftInputMode="adjustResize" | 279 android:windowSoftInputMode="adjustResize" |
278 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize" | 280 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize" |
279 android:hardwareAccelerated="false"> | 281 android:hardwareAccelerated="false"> |
280 </activity> | 282 </activity> |
281 | 283 |
282 <!-- ChromeTabbedActivity related --> | 284 <!-- ChromeTabbedActivity related --> |
283 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity " | 285 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity " |
284 android:theme="@style/MainTheme" | 286 android:theme="@style/TabbedModeTheme" |
285 android:exported="false" | 287 android:exported="false" |
286 android:windowBackground="@drawable/window_background" | |
287 android:windowSoftInputMode="adjustResize" | 288 android:windowSoftInputMode="adjustResize" |
288 android:launchMode="singleTask" | 289 android:launchMode="singleTask" |
289 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" | 290 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" |
290 android:hardwareAccelerated="false"> | 291 android:hardwareAccelerated="false"> |
291 </activity> | 292 </activity> |
292 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity 2" | 293 <activity android:name="org.chromium.chrome.browser.ChromeTabbedActivity 2" |
293 android:theme="@style/MainTheme" | 294 android:theme="@style/TabbedModeTheme" |
294 android:exported="false" | 295 android:exported="false" |
295 android:windowBackground="@drawable/window_background" | |
296 android:windowSoftInputMode="adjustResize" | 296 android:windowSoftInputMode="adjustResize" |
297 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" | 297 android:taskAffinity="{{ manifest_package }}.ChromeTabbedActivity2" |
298 android:launchMode="singleTask" | 298 android:launchMode="singleTask" |
299 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" | 299 android:configChanges="orientation|keyboardHidden|keyboard|screenSi ze|mcc|mnc|screenLayout|smallestScreenSize" |
300 android:hardwareAccelerated="false"> | 300 android:hardwareAccelerated="false"> |
301 </activity> | 301 </activity> |
302 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns tanceChromeTabbedActivity" | 302 <activity android:name="org.chromium.chrome.browser.multiwindow.MultiIns tanceChromeTabbedActivity" |
303 android:theme="@style/MainTheme" | 303 android:theme="@style/TabbedModeTheme" |
304 android:exported="false" | 304 android:exported="false" |
305 android:windowBackground="@drawable/window_background" | |
306 android:windowSoftInputMode="adjustResize" | 305 android:windowSoftInputMode="adjustResize" |
307 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize" | 306 android:configChanges="orientation|keyboardHidden|keyboard|screenSiz e|mcc|mnc|screenLayout|smallestScreenSize" |
308 android:hardwareAccelerated="false"> | 307 android:hardwareAccelerated="false"> |
309 </activity> | 308 </activity> |
310 | 309 |
311 <activity android:name="org.chromium.chrome.browser.sync.ui.PassphraseAc tivity" | 310 <activity android:name="org.chromium.chrome.browser.sync.ui.PassphraseAc tivity" |
312 android:theme="@style/MainTheme" | 311 android:theme="@style/MainTheme" |
313 android:autoRemoveFromRecents="true"> | 312 android:autoRemoveFromRecents="true"> |
314 </activity> | 313 </activity> |
315 <activity android:name="org.chromium.chrome.browser.firstrun.FirstRunAct ivity" | 314 <activity android:name="org.chromium.chrome.browser.firstrun.FirstRunAct ivity" |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
845 choose the first MediaRouteController that can play it, so the orde r of the list can be important. | 844 choose the first MediaRouteController that can play it, so the orde r of the list can be important. |
846 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. | 845 The most specific MediaRouteControllers should be listed first, fol lowed by more generic ones. |
847 The downstream manifest replaces this block, and hence replaces the list of media route | 846 The downstream manifest replaces this block, and hence replaces the list of media route |
848 controllers with its own list. --> | 847 controllers with its own list. --> |
849 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" | 848 <meta-data android:name="org.chromium.content.browser.REMOTE_MEDIA_PLAYE RS" |
850 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> | 849 android:value="org.chromium.chrome.browser.media.remote.DefaultMedia RouteController"/> |
851 | 850 |
852 {% endblock %} | 851 {% endblock %} |
853 </application> | 852 </application> |
854 </manifest> | 853 </manifest> |
OLD | NEW |