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
This commit is contained in:
@@ -82,7 +82,7 @@ public class RedactionInterstitial extends SettingsActivity {
|
|||||||
final boolean enabled = Settings.Secure.getInt(getContentResolver(),
|
final boolean enabled = Settings.Secure.getInt(getContentResolver(),
|
||||||
Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0) != 0;
|
Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0) != 0;
|
||||||
final boolean show = Settings.Secure.getInt(getContentResolver(),
|
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);
|
mShowAllButton.setChecked(enabled && show);
|
||||||
mRedactSensitiveButton.setChecked(enabled && !show);
|
mRedactSensitiveButton.setChecked(enabled && !show);
|
||||||
mHideAllButton.setChecked(!enabled);
|
mHideAllButton.setChecked(!enabled);
|
||||||
|
Reference in New Issue
Block a user