diff options
Diffstat (limited to 'service/java/com/android/server/bluetooth/BluetoothService.java')
-rw-r--r-- | service/java/com/android/server/bluetooth/BluetoothService.java | 4 |
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()); } } |