diff options
author | Andrew Cheng <chengca@google.com> | 2019-10-11 17:39:42 -0700 |
---|---|---|
committer | Joseph Pirozzo <pirozzoj@google.com> | 2020-03-16 14:29:28 -0700 |
commit | 01bcd0f9bf286e6987d24b1d3774d5343ee0c6f3 (patch) | |
tree | 03b6045815a8252936a5db83de6458c380c41972 /res | |
parent | c4d9f202e10c9812e09a2b604c2f8c13393cdd19 (diff) | |
download | android_packages_apps_Bluetooth-01bcd0f9bf286e6987d24b1d3774d5343ee0c6f3.tar.gz android_packages_apps_Bluetooth-01bcd0f9bf286e6987d24b1d3774d5343ee0c6f3.tar.bz2 android_packages_apps_Bluetooth-01bcd0f9bf286e6987d24b1d3774d5343ee0c6f3.zip |
Prevent phone's bd_addr from appearing in Accounts
Bluetooth's pbapclient needs to create an Account to help manage the
syncing of phonebook contacts and call logs. This Bluetooth-generated
Account will show up in Settings > Accounts, leading to a confusing and
poor user experience. This CL will prevent this Account from appearing.
This fix relies on the fact that getAccountPreferences in
AccountListPreferenceController will skip showing any Account that has a
null 'label'.
Bug: 131857089
Test: Verify in Settings > Accounts that the phone's bd_addr is no
longer listed.
Change-Id: I31dec95f3cd2d66f2f1b1c9bf80cb9c3031b585b
Merged-In: I31dec95f3cd2d66f2f1b1c9bf80cb9c3031b585b
(cherry picked from commit 8ff121fce067ffae9f76610f276a3bd88e110b87)
Diffstat (limited to 'res')
-rw-r--r-- | res/xml/authenticator.xml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/xml/authenticator.xml b/res/xml/authenticator.xml index b719fec4f..ab08a6103 100644 --- a/res/xml/authenticator.xml +++ b/res/xml/authenticator.xml @@ -17,5 +17,4 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:icon="@mipmap/bt_share" android:smallIcon="@mipmap/bt_share" - android:accountType="@string/pbap_account_type" - android:label="@string/pbap_account_type" /> + android:accountType="@string/pbap_account_type" /> |