summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Lais Andrade <lsandrade@google.com> 2021-11-25 15:40:41 +0000
committer Lais Andrade <lsandrade@google.com> 2021-11-30 11:32:53 +0000
commit24e966152dfe4f9a11e0e5d960eb0dea7df0e94f (patch)
treeb20d37b12b3f32782e1b9aed6ea63a00ca125da6 /libs/androidfw/StringPool.cpp
parent0447a404bd446b9bd4a5a2a409c2b53e74490b90 (diff)
Update VibrationEffect haptic feedback heuristic
Update VibrationAttributes removing the logic to classify VibrationEffect instances as haptic feedback. Introduce isHapticFeedbackCandidate method to VibrationEffect, CombinedVibration and the effect segments, to be used by the VibratorManagerService to classify unknown vibration effects as having TOUCH_USAGE. Update haptic feedback limit to 1s, and also add limits to composition size for identifying candidate effects. Bug: 185351540 Test: VibrationAttributesTest VibratorManagerServiceTest Change-Id: I6f840f7ac7ab27da99949eb5dc2122451886cb30
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions