am af87ce09: am 04119285: am cb8a5354: am 3f0f02b9: Merge "\'When to daydream\' dialog does not follow the JB dialog design guide"

* commit 'af87ce09915ae1b5cc3c3a46ab9fb241df1be13d':
  'When to daydream' dialog does not follow the JB dialog design guide
This commit is contained in:
John Spurlock
2014-01-28 15:52:03 +00:00
committed by Android Git Automerger

View File

@@ -206,6 +206,7 @@ public class DreamSettings extends SettingsPreferenceFragment {
public void onClick(DialogInterface dialog, int item) { public void onClick(DialogInterface dialog, int item) {
mBackend.setActivatedOnDock(item == 0 || item == 2); mBackend.setActivatedOnDock(item == 0 || item == 2);
mBackend.setActivatedOnSleep(item == 1 || item == 2); mBackend.setActivatedOnSleep(item == 1 || item == 2);
dialog.dismiss();
} }
}) })
.create(); .create();