'When to daydream' dialog does not follow the JB dialog design guide
The dialog is a single selection popup and according to the dialogs design guide the popup should close when the user has make his/her choice, but in this case it does not. Change-Id: Iac6bc19146a88236d3253d2d846212ce09b4925b
This commit is contained in:
@@ -206,6 +206,7 @@ public class DreamSettings extends SettingsPreferenceFragment {
|
||||
public void onClick(DialogInterface dialog, int item) {
|
||||
mBackend.setActivatedOnDock(item == 0 || item == 2);
|
||||
mBackend.setActivatedOnSleep(item == 1 || item == 2);
|
||||
dialog.dismiss();
|
||||
}
|
||||
})
|
||||
.create();
|
||||
|
Reference in New Issue
Block a user