commit | 03b9a54382f631cc409611329f1539e1947040fa | [log] [tgz] |
---|---|---|
author | Lais Andrade <lsandrade@google.com> | Mon Feb 19 12:10:32 2024 +0000 |
committer | Lais Andrade <lsandrade@google.com> | Mon Feb 19 14:07:11 2024 +0000 |
tree | 596dd870603ead563b442a547db8b21c8d1b43ab | |
parent | a892df451e0fc6fed0f1a6073f2fa8c5e7dff0b4 [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