+116
−0
+18
−23
+69
−25
+96
−0
+35
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The KeyguardQuickAffordanceHapticViewModel is introduced to make use of data flows about interactions with quick affordances. With these, the view-model produces a Flow of haptic states, which can then be collected to play the corresponding haptics using the MSDL player in SysUI. Test: KeyguardQuickAffordanceHapticViewModelTest Test: manual. Verified failure haptics when tapping on a shortcut. Test: manual. Verified long-press haptics when launching from a shortcut. Test: manual. Verified switch on haptics when long-pressing a shortcut turns a control on. Test: manual. Verified switch off haptics when long-pressing a shortcut turns a control off. Flag: com.android.systemui.msdl_feedback Bug: 361320572 Change-Id: I9a4268251a4d5380cae3023ba23ccf30a6560ad5