Merge "Avoid launching dialogs twice from double-clicking a preference." into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e43e08bb24
@@ -261,6 +261,8 @@ public abstract class DialogPreference extends Preference implements
|
||||
|
||||
@Override
|
||||
protected void onClick() {
|
||||
if (mDialog != null && mDialog.isShowing()) return;
|
||||
|
||||
showDialog(null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user