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

* commit 'a826cb523f10efde7b1a68ba1b172777c34529fb':
  default to lock_screen_notifications_summary_show.
This commit is contained in:
Chris Wren
2014-08-29 20:12:04 +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);