Commit 12a85885 authored by Peter E Conn's avatar Peter E Conn Committed by Commit Bot

🤝 Add SiteSettings category.

This will allow TWAs to determine whether a browser supports launching
to site settings without having to hard code Chrome's package and
version.

Change-Id: I37b226be1a5118b38f10acb4edefce89db3ad973
Bug: 1119727
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2366934
Commit-Queue: Peter Conn <peconn@chromium.org>
Reviewed-by: default avatarBoris Sazonov <bsazonov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#800123}
parent 8d88069d
...@@ -1611,6 +1611,7 @@ ...@@ -1611,6 +1611,7 @@
<category android:name="androidx.browser.customtabs.category.ColorSchemeCustomization"/> <category android:name="androidx.browser.customtabs.category.ColorSchemeCustomization"/>
<category android:name="androidx.browser.customtabs.category.NavBarColorCustomization"/> <category android:name="androidx.browser.customtabs.category.NavBarColorCustomization"/>
<category android:name="androidx.browser.trusted.category.ImmersiveMode"/> <category android:name="androidx.browser.trusted.category.ImmersiveMode"/>
<category android:name="androidx.browser.trusted.category.LaunchSiteSettings"/>
<category android:name="androidx.browser.trusted.category.TrustedWebActivities"/> <category android:name="androidx.browser.trusted.category.TrustedWebActivities"/>
<category android:name="androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"/> <category android:name="androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"/>
<category android:name="androidx.browser.trusted.category.WebShareTargetV2"/> <category android:name="androidx.browser.trusted.category.WebShareTargetV2"/>
......
...@@ -1401,6 +1401,7 @@ ...@@ -1401,6 +1401,7 @@
<category android:name="androidx.browser.customtabs.category.ColorSchemeCustomization"/> <category android:name="androidx.browser.customtabs.category.ColorSchemeCustomization"/>
<category android:name="androidx.browser.customtabs.category.NavBarColorCustomization"/> <category android:name="androidx.browser.customtabs.category.NavBarColorCustomization"/>
<category android:name="androidx.browser.trusted.category.ImmersiveMode"/> <category android:name="androidx.browser.trusted.category.ImmersiveMode"/>
<category android:name="androidx.browser.trusted.category.LaunchSiteSettings"/>
<category android:name="androidx.browser.trusted.category.TrustedWebActivities"/> <category android:name="androidx.browser.trusted.category.TrustedWebActivities"/>
<category android:name="androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"/> <category android:name="androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"/>
<category android:name="androidx.browser.trusted.category.WebShareTargetV2"/> <category android:name="androidx.browser.trusted.category.WebShareTargetV2"/>
......
...@@ -1040,12 +1040,13 @@ by a child template that "extends" this file. ...@@ -1040,12 +1040,13 @@ by a child template that "extends" this file.
tools:ignore="ExportedService"> tools:ignore="ExportedService">
<intent-filter> <intent-filter>
<action android:name="android.support.customtabs.action.CustomTabsService" /> <action android:name="android.support.customtabs.action.CustomTabsService" />
<category android:name="androidx.browser.customtabs.category.ColorSchemeCustomization"/>
<category android:name="androidx.browser.customtabs.category.NavBarColorCustomization"/>
<category android:name="androidx.browser.trusted.category.ImmersiveMode"/>
<category android:name="androidx.browser.trusted.category.LaunchSiteSettings" />
<category android:name="androidx.browser.trusted.category.TrustedWebActivities"/> <category android:name="androidx.browser.trusted.category.TrustedWebActivities"/>
<category android:name="androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"/> <category android:name="androidx.browser.trusted.category.TrustedWebActivitySplashScreensV1"/>
<category android:name="androidx.browser.customtabs.category.NavBarColorCustomization"/>
<category android:name="androidx.browser.customtabs.category.ColorSchemeCustomization"/>
<category android:name="androidx.browser.trusted.category.WebShareTargetV2"/> <category android:name="androidx.browser.trusted.category.WebShareTargetV2"/>
<category android:name="androidx.browser.trusted.category.ImmersiveMode"/>
</intent-filter> </intent-filter>
</service> </service>
<service android:name="androidx.browser.customtabs.PostMessageService" /> <service android:name="androidx.browser.customtabs.PostMessageService" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment