Merge "Fix NPE in LegacyGlobalActions" into rvc-dev am: e3041c9a16 am: 61a85b962b

Change-Id: I424348b0e1c4f1ad4e19f2257800818e8472f00e
This commit is contained in:
TreeHugger Robot
2020-05-20 12:05:57 +00:00
committed by Automerger Merge Worker

View File

@@ -339,7 +339,7 @@ class LegacyGlobalActions implements DialogInterface.OnDismissListener, DialogIn
});
dialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
// 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);