b/2370089 Pop the dock dialog above the keyguard

Change-Id: I958ac22defb057fd1ce98a711e3e92073588b1e8
This commit is contained in:
Michael Chan
2010-01-20 15:39:13 -08:00
parent 04bdae750f
commit ae3311e5bd

View File

@@ -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;