summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2024-02-19 12:10:32 +0000
committer Lais Andrade <lsandrade@google.com> 2024-02-19 14:07:11 +0000
commit03b9a54382f631cc409611329f1539e1947040fa (patch)
tree596dd870603ead563b442a547db8b21c8d1b43ab /libs/androidfw/misc.cpp
parenta892df451e0fc6fed0f1a6073f2fa8c5e7dff0b4 (diff)
Replace observer for USER_SWITCHED broadbast by a UserSwitchObserver
Replace a broadcast intent observer for USER_SWITCHED by a UserSwitchObserver instance registered to the ActivityManager. Add an early reaction to user switch by implementing the method onUserSwitching, which is triggered before any app is notified. Reload user vibration settings based on the new user ID. Fix: 308932536 Test: atest VibrationSettingsTest Change-Id: I185903a0679da01409bcc5db6e0703d451bae0c2
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions