summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author dshivangi <dshivangi@google.com> 2023-05-25 12:38:16 +0100
committer Shivangi Dubey <dshivangi@google.com> 2023-06-01 14:23:26 +0000
commit7115464557d61f65e1b78a45dbea87a8ec436f38 (patch)
tree8eb10bfadb1f01e83de3c16f44a821251d4abc41 /libs/androidfw/ObbFile.cpp
parent7c0f7188a9b9d63a9e25f7e9d628c03af1a47764 (diff)
Changed VibrationAttributes of Unfold Haptics
There was feedback that the haptic when unfolding was too subtle, so we are increasing the strength to make it more prominent. In this change, USAGE_HARDWARE_FEEDBACK was added as a VibrationAttribute for the unfold haptics. Previously, when no VibrationAttributes were specified, it defaulted to USAGE_UNKNOWN, which meant that the haptics were controlled by the 'Media Vibration' user setting slider. By associating it with USAGE_HARDWARE_FEEDBACK, the haptics will now be controlled by the 'Touch Feedback' user setting slider. Test: UnfoldHapticsPlayerTest Bug: 281642496 Relevant Logs: https://paste.googleplex.com/6294954983817216 Change-Id: I3241a924bf843e590e7d947b5375cd69cda73139
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions