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

Commit 30698293 authored by Chris Wren's avatar Chris Wren
Browse files

default to lock_screen_notifications_summary_show.

When the user selects a secure unlock method for the first time,
default to 'Show all notification content'.

Bug: 17010183
Change-Id: I4953e2b1e605bf6f13240ef0483a37265263ea8d
parent f48249a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ public class RedactionInterstitial extends SettingsActivity {
            final boolean enabled = Settings.Secure.getInt(getContentResolver(),
                        Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0) != 0;
            final boolean show = Settings.Secure.getInt(getContentResolver(),
                        Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0) != 0;
                        Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1) != 0;
            mShowAllButton.setChecked(enabled && show);
            mRedactSensitiveButton.setChecked(enabled && !show);
            mHideAllButton.setChecked(!enabled);