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)
committerZongheng Wang <wangzongheng@google.com>
Mon, 9 Sep 2019 22:33:55 +0000 (22:33 +0000)
commitefdcff245255575bcdb8adc65aef7ba9f8fd1725
treeb4fdca95fb896828b6d1c0483f562c4552ea6df3
parent81e2e1f105d70595446ee514fdaf271ed9b1e76f
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 810c6d2117aeec7ca749e707b2e3a297eb8a265e)
packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java