Merge "default to lock_screen_notifications_summary_show." into lmp-dev

This commit is contained in:
Chris Wren
2014-08-29 20:08:37 +00:00
committed by Android (Google) Code Review

View File

@@ -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);