VoWifi Emergency Call Notification
- Display a dialog when user clicks notification
- If user clicks Ok + Do not show again, remove notification and
dialog
- If user clicks Ok, remove dialog
- If user clicks Cancel, disable WFC setting
Bug: 179122732
Test: Manually verified by simulating
Change-Id: I9e2a7ea4e80e669584cacfdb176a53fd15bfa446
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 8828c3a..99e1b43 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -104,6 +104,7 @@
<protected-broadcast android:name= "com.android.phone.settings.CARRIER_PROVISIONING" />
<protected-broadcast android:name= "com.android.phone.settings.TRIGGER_CARRIER_PROVISIONING" />
+ <protected-broadcast android:name= "com.android.internal.telephony.ACTION_VOWIFI_ENABLED" />
<!-- For Vendor Debugging in Telephony -->
<protected-broadcast android:name="android.telephony.action.ANOMALY_REPORTED" />
@@ -575,6 +576,17 @@
</intent-filter>
</activity>
+ <activity android:name="LimitedServiceActivity"
+ android:exported="true"
+ android:excludeFromRecents="true"
+ android:launchMode="singleTask"
+ android:taskAffinity=""
+ android:theme="@android:style/Theme.Translucent.NoTitleBar">
+ <intent-filter android:priority="1000">
+ <action android:name = "com.android.internal.telephony.ACTION_VOWIFI_ENABLED" />
+ </intent-filter>
+ </activity>
+
<activity android:name="MMIDialogActivity"
android:configChanges="orientation|screenSize|keyboardHidden"
android:excludeFromRecents="true"