OSDN Git Service

Set default phonebook access to ACCESS_REJECTED when user didn't choose
authorZongheng Wang <wangzongheng@google.com>
Thu, 5 Sep 2019 20:44:28 +0000 (13:44 -0700)
committerMax Spector <mspector@google.com>
Thu, 19 Sep 2019 00:13:40 +0000 (17:13 -0700)
commita19300efc8c4fa8ca6ec16b47f22a44ed5bcd70a
tree624cb161166d5e67152660b956bef25c8741d8d5
parent176c6ed5db0225470a49774d9ca110455142943e
Set default phonebook access to ACCESS_REJECTED when user didn't choose
one

When there's no users' choice to tell us whether to share their
phonebook information to the Bluetooth device, set the phonebook access
permission to ACCESS_REJECTED.

Bug: 138529441
Test: Manual test
Change-Id: Iefabeb731b941f09fe1272ac7b7cd2feba75c8df
Merged-In: Iefabeb731b941f09fe1272ac7b7cd2feba75c8df
(cherry picked from commit 02046b4f2ce82f6a3b6fd733c4b45f47acf51296)
packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java