Move REVIEW_PERMISSIONS_NOTIFICATION_STATE to Global from Secure
This is a global setting that is not per-user, so adjusting it accordingly. Bug: 225373531 Test: manual Change-Id: I100cd53a5ffef6ce5f9a01e6add9465a00ceaeb5
This commit is contained in:
@@ -330,8 +330,8 @@ public class ManageApplications extends InstrumentedFragment
|
||||
if (className.equals(Settings.NotificationReviewPermissionsActivity.class.getName())) {
|
||||
// Special-case for a case where a user is directed to the all apps notification
|
||||
// preferences page via a notification prompt to review permissions settings.
|
||||
android.provider.Settings.Secure.putInt(getContext().getContentResolver(),
|
||||
android.provider.Settings.Secure.REVIEW_PERMISSIONS_NOTIFICATION_STATE,
|
||||
android.provider.Settings.Global.putInt(getContext().getContentResolver(),
|
||||
android.provider.Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE,
|
||||
1); // USER_INTERACTED
|
||||
}
|
||||
} else if (className.equals(AppLocaleDetails.class.getName())) {
|
||||
|
Reference in New Issue
Block a user