diff options
| author | 2023-03-12 21:47:02 +0000 | |
|---|---|---|
| committer | 2024-11-13 11:05:27 +0000 | |
| commit | 13a316b1db0f1e19fd4f4c88573a5bf174ae14d7 (patch) | |
| tree | ba9ca7a94f58390b6f7ffef414a3576c37bf59c8 /libs/input/PointerController.cpp | |
| parent | 9ed8c2c12ab4f682af9fcf4f5ac3ea8b1c0d6bf1 (diff) | |
UsbDeviceManager: Invoke accessoryAttached after ACTION_USER_UNLOCKED
ACTION_USER_UNLOCKED notifies whether the user has unlocked since boot.
UsbDeviceManager invokes accessoryAttached after
ACTION_LOCKED_BOOT_COMPLETED. Invoking accessoryAttached after
ACTION_USER_UNLOCKED will ensure that the resolveActivity of
UsbProfileGroupSettingsManager can match against apps in credential
encrypted storage as well.
ACTION_USER_UNLOCKED gets broadcasted even for swipe screen once the
phone boots to swipe screen. ACTION_USER_UNLOCKED also gets broadcasted
when no swipe screen or lock pattern/pin is set once the phone boots to
home screen.
Bug: 267226621
Bug: 73654179
Test: Connect source device with lock pattern and make sure that B&R
app loads without showing the "No installed apps" error once the
source device is unlocked.
Flag: com.android.server.usb.flags.check_user_action_unlocked
Change-Id: I0ab27b2103341ca99a65e3960daf1dbf70429042
Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions