Move REVIEW_PERMISSIONS_NOTIFICATION_STATE to Global from Secure

This setting is going to be global across the device rather than per-user.

Bug: 225373531
Test: manual
Change-Id: Ibabad2192e50d8f495f9e9fcbc12ba93156bc3fa
This commit is contained in:
Yuri Lin
2022-04-20 14:45:56 -04:00
parent 809036e638
commit 56774980c4
2 changed files with 16 additions and 14 deletions

View File

@@ -7678,20 +7678,6 @@ public final class Settings {
public static final String ZEN_SETTINGS_SUGGESTION_VIEWED =
"zen_settings_suggestion_viewed";
/**
* State of whether review notification permissions notification needs to
* be shown the user, and whether the user has interacted.
*
* Valid values:
* -1 = UNKNOWN
* 0 = SHOULD_SHOW
* 1 = USER_INTERACTED
* 2 = DISMISSED
* @hide
*/
public static final String REVIEW_PERMISSIONS_NOTIFICATION_STATE =
"review_permissions_notification_state";
/**
* Whether the in call notification is enabled to play sound during calls. The value is
* boolean (1 or 0).
@@ -16965,6 +16951,21 @@ public final class Settings {
public static final String MANAGED_PROVISIONING_DEFER_PROVISIONING_TO_ROLE_HOLDER =
"managed_provisioning_defer_provisioning_to_role_holder";
/**
* State of whether review notification permissions notification needs to
* be shown the user, and whether the user has interacted.
*
* Valid values:
* -1 = UNKNOWN
* 0 = SHOULD_SHOW
* 1 = USER_INTERACTED
* 2 = DISMISSED
* 3 = RESHOWN
* @hide
*/
public static final String REVIEW_PERMISSIONS_NOTIFICATION_STATE =
"review_permissions_notification_state";
/**
* Settings migrated from Wear OS settings provider.
* @hide

View File

@@ -597,6 +597,7 @@ public class SettingsBackupTest {
Settings.Global.CLOCKWORK_HOME_READY,
Settings.Global.WATCHDOG_TIMEOUT_MILLIS,
Settings.Global.MANAGED_PROVISIONING_DEFER_PROVISIONING_TO_ROLE_HOLDER,
Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE,
Settings.Global.Wearable.BATTERY_SAVER_MODE,
Settings.Global.Wearable.COMBINED_LOCATION_ENABLED,
Settings.Global.Wearable.HAS_PAY_TOKENS,