summaryrefslogtreecommitdiff
path: root/service/java/com/android/server/bluetooth/BluetoothService.java
diff options
context:
space:
mode:
authorWilliam Escande <wescande@google.com>2022-01-26 12:32:41 +0100
committerZach Johnson <zachoverflow@google.com>2022-01-27 20:30:57 +0000
commitf5d9305d0fb9adaf8f612ec1d86a45f835ba5fa7 (patch)
tree38a14d37f11339edde6f77bb604e7b85361cf0f5 /service/java/com/android/server/bluetooth/BluetoothService.java
parent87b90694455cbc836b614c4a281cf6977b6755be (diff)
Multiples hidden api fix: BluetoothManagerService
Test: Build + start bt + connect & play Bug: 195144968 Tag: #refactor Ignore-AOSP-First: AOSP will be updated later Change-Id: Iaa5b3f90ab4332390e4dccde3a05837aa4eb074e
Diffstat (limited to 'service/java/com/android/server/bluetooth/BluetoothService.java')
-rw-r--r--service/java/com/android/server/bluetooth/BluetoothService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/java/com/android/server/bluetooth/BluetoothService.java b/service/java/com/android/server/bluetooth/BluetoothService.java
index 1a1eecd0f4..f5e100b338 100644
--- a/service/java/com/android/server/bluetooth/BluetoothService.java
+++ b/service/java/com/android/server/bluetooth/BluetoothService.java
@@ -60,12 +60,12 @@ class BluetoothService extends SystemService {
if (!mInitialized) {
initialize();
} else {
- mBluetoothManagerService.handleOnSwitchUser(to.getUserIdentifier());
+ mBluetoothManagerService.handleOnSwitchUser(to.getUserHandle());
}
}
@Override
public void onUserUnlocking(@NonNull TargetUser user) {
- mBluetoothManagerService.handleOnUnlockUser(user.getUserIdentifier());
+ mBluetoothManagerService.handleOnUnlockUser(user.getUserHandle());
}
}