DO NOT MERGE Add ability to simulate missed calls
After initiating a call using
adb shell am start -a android.telecom.testapps.ACTION_START_INCOMING_CALL
-d "tel:14082932268"
Hang up the call using:
adb shell am start -a android.telecom.testapps.ACTION_HANGUP_CALLS
Bug: 19803865
Change-Id: I9ba12bac1eb5db5c19d0d830fc1e1e77cb3b86cb
diff --git a/testapps/AndroidManifest.xml b/testapps/AndroidManifest.xml
index 747d377..728c64a 100644
--- a/testapps/AndroidManifest.xml
+++ b/testapps/AndroidManifest.xml
@@ -66,6 +66,10 @@
<data android:scheme="tel" />
<data android:scheme="sip" />
</intent-filter>
+ <intent-filter>
+ <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
</activity>
<receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"