Update the default wellbeing package config.
defaultWellbeingPackage is now deprecated and should not be used. Instead, point all references to the new systemWellbeing config. Bug: 233363529 Test: atest AmbientDisplayAlwaysOnPreferenceControllerTest Test: atest DarkModeCustomBedtimePreferenceControllerTest Test: atest DarkModeScheduleSelectorControllerTest Test: atest WhenToDreamPreferenceControllerTest Test: atest AfwRequiredAppsTest Test: atest ManagedProvisioningRequiredAppsTest Test: atest WellbeingTest Change-Id: Idaa1690b509e639bde982a0589e40238b62b4f3d
This commit is contained in:
@@ -2585,7 +2585,7 @@ public final class Settings {
|
||||
* <p>
|
||||
* To start an activity with this intent, apps should set the wellbeing package explicitly in
|
||||
* the intent together with this action. The wellbeing package is defined in
|
||||
* {@code com.android.internal.R.string.config_defaultWellbeingPackage}.
|
||||
* {@code com.android.internal.R.string.config_systemWellbeing}.
|
||||
* <p>
|
||||
* Output: Nothing
|
||||
*
|
||||
|
||||
@@ -4301,8 +4301,12 @@
|
||||
This package must be trusted, as it has the permissions to control other applications
|
||||
on the device.
|
||||
Example: "com.android.wellbeing"
|
||||
|
||||
Note: This config is deprecated, please use config_systemWellbeing instead.
|
||||
-->
|
||||
<string name="config_defaultWellbeingPackage" translatable="false"></string>
|
||||
<string name="config_defaultWellbeingPackage" translatable="false">
|
||||
@string/config_systemWellbeing
|
||||
</string>
|
||||
|
||||
<!-- The component name for the default system attention service.
|
||||
This service must be trusted, as it can be activated without explicit consent of the user.
|
||||
|
||||
Reference in New Issue
Block a user