Set default captiveportallogin app in AOSP

Make sure the default CaptivePortalLogin application bundled in AOSP is
configured, so that it receives appropriate permissions.

This avoids potential problems where on an AOSP-based device, setting
the config was forgotten, and the default captive portal which expected
the permissions does not get them.

Bug: 228991143
Test: m; check CaptivePortalLogin has POST_NOTIFICATIONS
Change-Id: Iec7e3449d6b34ba6ff77e64b1d4bf00809629719
This commit is contained in:
Remi NGUYEN VAN
2022-05-26 18:39:28 +09:00
parent 8991395755
commit b815bcb68e

View File

@@ -1872,7 +1872,7 @@
<!-- The package name of the default captive portal login app. Must be granted the
POST_NOTIFICATIONS permission.
-->
<string name="config_defaultCaptivePortalLoginPackageName" translatable="false"></string>
<string name="config_defaultCaptivePortalLoginPackageName" translatable="false">com.android.captiveportallogin</string>
<!-- Whether to enable geocoder overlay which allows geocoder to be replaced
by an app at run-time. When disabled, only the