diff options
| author | Remi NGUYEN VAN <reminv@google.com> | 2022-05-26 18:39:28 +0900 |
|---|---|---|
| committer | Remi NGUYEN VAN <reminv@google.com> | 2022-05-26 18:39:28 +0900 |
| commit | b815bcb68e41ec441b3a9be389db94017d328f33 (patch) | |
| tree | 92656dc77a4075e270f88290730a6ed05e3a1abd /core | |
| parent | 89913957554b7f932ba6600ca45005bef4c969a9 (diff) | |
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
Diffstat (limited to 'core')
| -rw-r--r-- | core/res/res/values/config.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 2b0d01fc748f..459fdd3904f8 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -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 |
