Merge "Fix NPE in LegacyGlobalActions" into rvc-dev am: e3041c9a16 am: 33338eaa7e
Change-Id: Ib05b4e3f3ba9067ab72aa5b4a43127c5990edfb1
This commit is contained in:
@@ -339,7 +339,7 @@ class LegacyGlobalActions implements DialogInterface.OnDismissListener, DialogIn
|
|||||||
});
|
});
|
||||||
dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
|
dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
|
||||||
// Don't acquire soft keyboard focus, to avoid destroying state when capturing bugreports
|
// Don't acquire soft keyboard focus, to avoid destroying state when capturing bugreports
|
||||||
mDialog.getWindow().setFlags(FLAG_ALT_FOCUSABLE_IM, FLAG_ALT_FOCUSABLE_IM);
|
dialog.getWindow().setFlags(FLAG_ALT_FOCUSABLE_IM, FLAG_ALT_FOCUSABLE_IM);
|
||||||
|
|
||||||
dialog.setOnDismissListener(this);
|
dialog.setOnDismissListener(this);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user