[Call Screening]Handling Package Uninstall
Rename PhoneAccountBroadcastReceiver class into
AppUninstallBroadcastReceiver. Detect the scenario
where the default call screening app gets uninstalled
and remove it as the default call screening app,
once happening, set default call screening as "null".
Bug: 116758854
Test: create two call screening applications, set them to default
and uninstall, observing the default call screening is null or not.
Change-Id: Idb2f4bd5da0a20ebaa4f1c77ea9349c8c30a8c17
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 9ea8f4c..9abe7e7 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -238,7 +238,7 @@
</intent-filter>
</receiver>
- <receiver android:name=".components.PhoneAccountBroadcastReceiver"
+ <receiver android:name=".components.AppUninstallBroadcastReceiver"
android:process="system">
<intent-filter>
<action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />