Loading src/com/android/bluetooth/btservice/AdapterService.java +2 −0 Original line number Diff line number Diff line Loading @@ -2314,6 +2314,8 @@ public class AdapterService extends Service { } boolean setPhonebookAccessPermission(BluetoothDevice device, int value) { enforceCallingOrSelfPermission(BLUETOOTH_PRIVILEGED, "Need BLUETOOTH PRIVILEGED permission"); SharedPreferences pref = getSharedPreferences(PHONEBOOK_ACCESS_PERMISSION_PREFERENCE_FILE, Context.MODE_PRIVATE); SharedPreferences.Editor editor = pref.edit(); Loading Loading
src/com/android/bluetooth/btservice/AdapterService.java +2 −0 Original line number Diff line number Diff line Loading @@ -2314,6 +2314,8 @@ public class AdapterService extends Service { } boolean setPhonebookAccessPermission(BluetoothDevice device, int value) { enforceCallingOrSelfPermission(BLUETOOTH_PRIVILEGED, "Need BLUETOOTH PRIVILEGED permission"); SharedPreferences pref = getSharedPreferences(PHONEBOOK_ACCESS_PERMISSION_PREFERENCE_FILE, Context.MODE_PRIVATE); SharedPreferences.Editor editor = pref.edit(); Loading