summaryrefslogtreecommitdiffstats
path: root/testapps/AndroidManifest.xml
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2017-04-14 13:46:21 -0700
committerTyler Gunn <tgunn@google.com>2017-04-14 18:47:22 -0700
commitea4c6fb7dc46c96b5ecf2c2b81bce51fa58d774c (patch)
tree90d3c2539a58f75798931b95c974eb09846d7135 /testapps/AndroidManifest.xml
parent44c54a2eda27f59219e078067efe1d68ee034aaa (diff)
downloadplatform_packages_services_Telecomm-ea4c6fb7dc46c96b5ecf2c2b81bce51fa58d774c.tar.gz
platform_packages_services_Telecomm-ea4c6fb7dc46c96b5ecf2c2b81bce51fa58d774c.tar.bz2
platform_packages_services_Telecomm-ea4c6fb7dc46c96b5ecf2c2b81bce51fa58d774c.zip
Send PhoneAccount register/unregistered intents to default dialer.
A few cleanups: 1. When sending the register/unregister phone account intents, previously there was no attempt made to ensure the intents were only sent when a new account was added, or an existing one was removed. Cleaned this up so that we don't over-send the intents. 2. Minor fix to account diff string in PhoneAccountRegistrar which would cause icon to always be shown as a diff; removed since bitmaps can't be compared. 3. Also sending the intents to the default dialer app as an explicit intent. Cherry-pick from aosp master to resolve conflicts. Test: Manual Bug: 37106957 Change-Id: I7fdaa3e225df6fe3aaf292f9b0b93042f69ca469
Diffstat (limited to 'testapps/AndroidManifest.xml')
-rw-r--r--testapps/AndroidManifest.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/testapps/AndroidManifest.xml b/testapps/AndroidManifest.xml
index 6980a12eb..592145b95 100644
--- a/testapps/AndroidManifest.xml
+++ b/testapps/AndroidManifest.xml
@@ -66,7 +66,8 @@
<intent-filter>
<action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
<action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
- <data android:scheme="int" />
+ <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
+ <action android:name="android.telecom.action.PHONE_ACCOUNT_UNREGISTERED"/>
</intent-filter>
</receiver>