OSDN Git Service

b/2370089 Pop the dock dialog above the keyguard
authorMichael Chan <mchan@android.com>
Wed, 20 Jan 2010 23:39:13 +0000 (15:39 -0800)
committerMichael Chan <mchan@android.com>
Wed, 20 Jan 2010 23:39:13 +0000 (15:39 -0800)
Change-Id: I958ac22defb057fd1ce98a711e3e92073588b1e8

src/com/android/settings/bluetooth/DockService.java

index db5bcb8..1425e23 100644 (file)
@@ -397,7 +397,7 @@ public class DockService extends Service implements AlertDialog.OnMultiChoiceCli
 
         mStartIdAssociatedWithDialog = startId;
         mDialog = ab.create();
-        mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG);
+        mDialog.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
         mDialog.setOnDismissListener(service);
         mDialog.show();
         return true;