b/2370089 Pop the dock dialog above the keyguard
Change-Id: I958ac22defb057fd1ce98a711e3e92073588b1e8
This commit is contained in:
@@ -397,7 +397,7 @@ public class DockService extends Service implements AlertDialog.OnMultiChoiceCli
|
|||||||
|
|
||||||
mStartIdAssociatedWithDialog = startId;
|
mStartIdAssociatedWithDialog = startId;
|
||||||
mDialog = ab.create();
|
mDialog = ab.create();
|
||||||
mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
|
mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
|
||||||
mDialog.setOnDismissListener(service);
|
mDialog.setOnDismissListener(service);
|
||||||
mDialog.show();
|
mDialog.show();
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user