Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51ed940d authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Merge cherrypicks of [9943992, 9944684, 9944054, 9943993, 9944476, 9942363,...

Merge cherrypicks of [9943992, 9944684, 9944054, 9943993, 9944476, 9942363, 9942364, 9942365, 9942367, 9944685, 9944686, 9943217, 9944762, 9944764, 9944481, 9944411, 9944055, 9944056, 9944057] into qt-qpr1-release

Change-Id: Ie278df2f048025cb36bc28296438b24a5e9f6c72
parents c69fb3a7 42dadcf9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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();