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

Commit e7f5ed02 authored by William Escande's avatar William Escande
Browse files

Kotlinify the BluetoothService use of getter

Bug: 262605980
Test: No-op on code. Build
Change-Id: Ie70cdfe83cea4fe5998f41541aa2ef406a2f89b2
parent 2a0840f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53,11 +53,11 @@ class BluetoothService(context: Context) : SystemService(context) {
        if (!mInitialized) {
            initialize()
        } else {
            mBluetoothManagerService.onSwitchUser(to.getUserHandle())
            mBluetoothManagerService.onSwitchUser(to.userHandle)
        }
    }

    override fun onUserUnlocking(user: TargetUser) {
        mBluetoothManagerService.handleOnUnlockUser(user.getUserHandle())
        mBluetoothManagerService.handleOnUnlockUser(user.userHandle)
    }
}