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

Skip to content
Commit c4b7f139 authored by Himanshu Rawat's avatar Himanshu Rawat
Browse files

Remove restricted devices only in non-restricted mode

GD storage module does not know if the mode is restricted or not. It
always remves the restricted devices on startup.
This change moves the decision to remove restricted devices from the
storage to btif_storage module.
This change also links the device record created in restricted mode to
the user ID. This ensures that different guests cannot access each
other's devices.

Test: mmm packages/modules/Bluetooth
Test: Manual | Pair with a device in guest mode and restart the BT,
paired device must still be available in the guest mode
Flag: com.android.bluetooth.flags.guest_mode_bond
Bug: 346337854
Bug: 349882273

Change-Id: I909053c7ffc5f5ac2ff2b8fc3840f3b77c7b543a
parent d657641b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment