Loading android/app/src/com/android/bluetooth/btservice/AdapterService.java +2 −2 Original line number Diff line number Diff line Loading @@ -1071,7 +1071,7 @@ public class AdapterService extends Service { } public boolean createBond(BluetoothDevice device, int transport) { if (!Utils.checkCaller()) { if (!Utils.checkCallerAllowManagedProfiles(mService)) { Log.w(TAG, "createBond() - Not allowed for non-active user"); return false; } Loading @@ -1082,7 +1082,7 @@ public class AdapterService extends Service { } public boolean createBondOutOfBand(BluetoothDevice device, int transport, OobData oobData) { if (!Utils.checkCaller()) { if (!Utils.checkCallerAllowManagedProfiles(mService)) { Log.w(TAG, "createBondOutOfBand() - Not allowed for non-active user"); return false; } Loading Loading
android/app/src/com/android/bluetooth/btservice/AdapterService.java +2 −2 Original line number Diff line number Diff line Loading @@ -1071,7 +1071,7 @@ public class AdapterService extends Service { } public boolean createBond(BluetoothDevice device, int transport) { if (!Utils.checkCaller()) { if (!Utils.checkCallerAllowManagedProfiles(mService)) { Log.w(TAG, "createBond() - Not allowed for non-active user"); return false; } Loading @@ -1082,7 +1082,7 @@ public class AdapterService extends Service { } public boolean createBondOutOfBand(BluetoothDevice device, int transport, OobData oobData) { if (!Utils.checkCaller()) { if (!Utils.checkCallerAllowManagedProfiles(mService)) { Log.w(TAG, "createBondOutOfBand() - Not allowed for non-active user"); return false; } Loading