Make telecom a non-persistent process.
There are still activities that run in short-lived telecom processes
because the system process doesn't run activities. By having
persistent=true, these short-lived processes ended up living forever.
For the components that run in the system process, things should remain
unchanged since the system process is already persistent.
Bug: 18112269
Change-Id: I0cc59119dc421e1d3dd4c63440487bdd7ce99b9d
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6b5dbbc..a2c0b91 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -53,11 +53,11 @@
can check for incompatible APIs. -->
<uses-sdk android:minSdkVersion="19" />
- <application android:persistent="true"
- android:label="@string/telecommAppLabel"
+ <application android:label="@string/telecommAppLabel"
android:icon="@mipmap/ic_launcher_phone"
android:allowBackup="false"
- android:supportsRtl="true">
+ android:supportsRtl="true"
+ android:process="system">
<!-- CALL vs CALL_PRIVILEGED vs CALL_EMERGENCY
We have three different intents through which a call can be initiated each with its