am edcfcef0: am a826cb52: Merge "default to lock_screen_notifications_summary_show." into lmp-dev

* commit 'edcfcef00c4a0749557fe1c01c503fe5db68674e':
  default to lock_screen_notifications_summary_show.
This commit is contained in:
Chris Wren
2014-08-29 20:23:43 +00:00
committed by Android Git Automerger

View File

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