diff options
author | 2024-12-03 16:13:09 -0800 | |
---|---|---|
committer | 2024-12-17 15:14:15 -0800 | |
commit | 7415da587004876bef28332721e9fb0a2c5d8ab1 (patch) | |
tree | de95b613af3a29ea78be6be61c24e9bfbd80b19b /libs/androidfw/Util.cpp | |
parent | 25938ed611dc793b403639d6d5dda6953579ada9 (diff) |
Adding information about whether a quick affordance launches.
Previously, it was difficult to disambiguate whether a quick affordance
handled an action by simpling toggling a control or by launching an
activity or a dialog. This information is crutial for the delivery of
semantic haptics via the Multi-sensory Design Language (MSDL). To supply
this necessary input, the Handled result in
KeyguardQuickAffordanceConfig.OnTriggered result now includes a boolean
property to determine if the action was handled by launching.
With this, the new data class LaunchingFromTriggeredResult consolidates
the launching result of an action on a quick affordance, regardless of a
launch occurring via the system or the quick affordance itself. The
subsequent CL uses this information to deliver the correct
MSDL-compliant haptics.
Test: KeyguardQuickAffordanceInteractorTest
Flag: com.android.systemui.msdl_feedback
Bug: 361320572
Change-Id: Ifc42748589cab885059a24a83537e5496e4fbf40
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions