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

Skip to content
Commit 03b9a543 authored by Lais Andrade's avatar Lais Andrade
Browse files

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
parent a892df45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment