Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 646e9e4f authored by Yuri Lin's avatar Yuri Lin
Browse files

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
parent 9c8d1e94
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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())) {