Move AlertDialog to SYSTEM_ALERT
Move USSD alert dialog to SYSTEM_ALERT
so that it doesn't draw over other system
UI, such as the drop down menu.
Test: Manual
Bug: 63875994
Change-Id: I0664208729757a826c24725c8019f17c9c47ef77
diff --git a/src/com/android/phone/PhoneUtils.java b/src/com/android/phone/PhoneUtils.java
index 40025c1..50e7f0a 100644
--- a/src/com/android/phone/PhoneUtils.java
+++ b/src/com/android/phone/PhoneUtils.java
@@ -952,7 +952,7 @@
.create();
sUssdDialog.getWindow().setType(
- WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);
+ WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);
sUssdDialog.getWindow().addFlags(
WindowManager.LayoutParams.FLAG_DIM_BEHIND);
}