Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(204)

Side by Side Diff: chrome/android/webapk/shell_apk/AndroidManifest.xml

Issue 2956193002: [Android] Enable WebAPK to have multiple intent filters (Closed)
Patch Set: Merge branch 'master' into rewriting Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 6 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:tools="http://schemas.android.com/tools" 7 xmlns:tools="http://schemas.android.com/tools"
8 package="{{{manifest_package}}}" 8 package="{{{manifest_package}}}"
9 android:versionCode="{{{version_code}}}" 9 android:versionCode="{{{version_code}}}"
10 android:versionName="{{{version_name}}}" > 10 android:versionName="{{{version_name}}}" >
11 11
12 <uses-sdk 12 <uses-sdk
13 android:minSdkVersion="16" 13 android:minSdkVersion="16"
14 android:targetSdkVersion="23" /> 14 android:targetSdkVersion="23" />
15 15
16 <application 16 <application
17 android:icon="@mipmap/app_icon" 17 android:icon="@mipmap/app_icon"
18 android:label="@string/short_name" 18 android:label="@string/short_name"
19 android:allowBackup="false"> 19 android:allowBackup="false">
20 <activity android:name="org.chromium.webapk.shell_apk.MainActivity" 20 <activity android:name="org.chromium.webapk.shell_apk.MainActivity"
21 android:theme="@android:style/Theme.Translucent.NoTitleBar" 21 android:theme="@android:style/Theme.Translucent.NoTitleBar"
22 android:excludeFromRecents="true"> 22 android:excludeFromRecents="true">
23 <intent-filter> 23 <intent-filter>
24 <action android:name="android.intent.action.MAIN" /> 24 <action android:name="android.intent.action.MAIN" />
25 <category android:name="android.intent.category.LAUNCHER" /> 25 <category android:name="android.intent.category.LAUNCHER" />
26 </intent-filter> 26 </intent-filter>
27 {{#intent_filters}}
27 <intent-filter> 28 <intent-filter>
28 <action android:name="android.intent.action.VIEW"></action> 29 <action android:name="android.intent.action.VIEW"></action>
29 <category android:name="android.intent.category.DEFAULT"></categ ory> 30 <category android:name="android.intent.category.DEFAULT"></categ ory>
30 <category android:name="android.intent.category.BROWSABLE"></cat egory> 31 <category android:name="android.intent.category.BROWSABLE"></cat egory>
31 <data android:scheme="{{{scope_url_scheme}}}" android:host="{{{s cope_url_host}}}" android:pathPrefix="{{{scope_url_path}}}"></data> 32 <data android:scheme="{{{scope_url_scheme}}}" android:host="{{{s cope_url_host}}}" android:pathPrefix="{{{scope_url_path}}}"></data>
32 </intent-filter> 33 </intent-filter>
34 {{/intent_filters}}
33 </activity> 35 </activity>
34 <meta-data android:name="org.chromium.webapk.shell_apk.shellApkVersion" android:value="{{{shell_apk_version}}}" /> 36 <meta-data android:name="org.chromium.webapk.shell_apk.shellApkVersion" android:value="{{{shell_apk_version}}}" />
35 {{#runtime_host}}<meta-data android:name="org.chromium.webapk.shell_apk. runtimeHost" android:value="{{{runtime_host}}}" />{{/runtime_host}} 37 {{#bound_webapk}}
36 {{#runtime_host_application_name}}<meta-data android:name="org.chromium. webapk.shell_apk.runtimeHostApplicationName" android:value="{{{runtime_host_appl ication_name}}}" />{{/runtime_host_application_name}} 38 <meta-data android:name="org.chromium.webapk.shell_apk.runtimeHost" andr oid:value="{{{runtime_host}}}" />
39 <meta-data android:name="org.chromium.webapk.shell_apk.runtimeHostApplic ationName" android:value="{{{runtime_host_application_name}}}" />
40 {{/bound_webapk}}
37 <meta-data android:name="org.chromium.webapk.shell_apk.startUrl" android :value="{{{start_url}}}" /> 41 <meta-data android:name="org.chromium.webapk.shell_apk.startUrl" android :value="{{{start_url}}}" />
38 <meta-data android:name="org.chromium.webapk.shell_apk.scope" android:va lue="{{{scope_url}}}" /> 42 <meta-data android:name="org.chromium.webapk.shell_apk.scope" android:va lue="{{{scope_url}}}" />
39 <meta-data android:name="org.chromium.webapk.shell_apk.displayMode" andr oid:value="{{{display_mode}}}" /> 43 <meta-data android:name="org.chromium.webapk.shell_apk.displayMode" andr oid:value="{{{display_mode}}}" />
40 <meta-data android:name="org.chromium.webapk.shell_apk.orientation" andr oid:value="{{{orientation}}}" /> 44 <meta-data android:name="org.chromium.webapk.shell_apk.orientation" andr oid:value="{{{orientation}}}" />
41 <meta-data android:name="org.chromium.webapk.shell_apk.themeColor" andro id:value="{{{theme_color}}}" /> 45 <meta-data android:name="org.chromium.webapk.shell_apk.themeColor" andro id:value="{{{theme_color}}}" />
42 <meta-data android:name="org.chromium.webapk.shell_apk.backgroundColor" android:value="{{{background_color}}}" /> 46 <meta-data android:name="org.chromium.webapk.shell_apk.backgroundColor" android:value="{{{background_color}}}" />
43 <meta-data android:name="org.chromium.webapk.shell_apk.iconId" android:r esource="@mipmap/app_icon" /> 47 <meta-data android:name="org.chromium.webapk.shell_apk.iconId" android:r esource="@mipmap/app_icon" />
48
49 {{! Hashes of icons should be taken of the icons as they are available on the web. The icon
50 bytes should not be transformed (e.g. decoded / encoded) prior to t aking the hash.
51 }}
44 <meta-data android:name="org.chromium.webapk.shell_apk.iconUrlsAndIconMu rmur2Hashes" android:value="{{{icon_urls_and_icon_murmur2_hashes}}}" /> 52 <meta-data android:name="org.chromium.webapk.shell_apk.iconUrlsAndIconMu rmur2Hashes" android:value="{{{icon_urls_and_icon_murmur2_hashes}}}" />
53
45 <meta-data android:name="org.chromium.webapk.shell_apk.webManifestUrl" a ndroid:value="{{{web_manifest_url}}}" /> 54 <meta-data android:name="org.chromium.webapk.shell_apk.webManifestUrl" a ndroid:value="{{{web_manifest_url}}}" />
46 {{#badge_icon_id}}<meta-data android:name="org.chromium.webapk.shell_apk .badgeIconId" android:resource="{{{badge_icon_id}}}" />{{/badge_icon_id}} 55 {{#badge_icon_id}}<meta-data android:name="org.chromium.webapk.shell_apk .badgeIconId" android:resource="{{{badge_icon_id}}}" />{{/badge_icon_id}}
47 <service 56 <service
48 android:name="org.chromium.webapk.shell_apk.WebApkServiceFactory" 57 android:name="org.chromium.webapk.shell_apk.WebApkServiceFactory"
49 android:exported="true" 58 android:exported="true"
50 tools:ignore="ExportedService"> 59 tools:ignore="ExportedService">
51 <intent-filter> 60 <intent-filter>
52 <action android:name="android.intent.action.MAIN" /> 61 <action android:name="android.intent.action.MAIN" />
53 <category android:name="android.intent.category.WEBAPK_API" /> 62 <category android:name="android.intent.category.WEBAPK_API" />
54 </intent-filter> 63 </intent-filter>
(...skipping 20 matching lines...) Expand all
75 <service 84 <service
76 android:name="org.chromium.webapk.shell_apk.IdentityService" 85 android:name="org.chromium.webapk.shell_apk.IdentityService"
77 android:exported="true" 86 android:exported="true"
78 tools:ignore="ExportedService"> 87 tools:ignore="ExportedService">
79 <intent-filter> 88 <intent-filter>
80 <action android:name="org.webapk.IDENTITY_SERVICE_API" /> 89 <action android:name="org.webapk.IDENTITY_SERVICE_API" />
81 </intent-filter> 90 </intent-filter>
82 </service> 91 </service>
83 </application> 92 </application>
84 </manifest> 93 </manifest>
OLDNEW
« no previous file with comments | « no previous file | chrome/android/webapk/shell_apk/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698