summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2023-10-03 21:30:41 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2023-10-05 15:30:23 +0000
commit8c7e1e15ce73c61cd334952ca28573f95bed47ec (patch)
tree3060244b9f7d5c77af07d15ebe0902ed19912e21 /libs/androidfw/ObbFile.cpp
parent3e920dd1ca72e14ac440865eebc26c11c59cf451 (diff)
Support bypassing interruption policy for scroll haptic feedback
The scroll haptic feedback should be played regardless of interruption mode (as they are a system navigation feedback). This change first makes changes to the VibratorManagerService to enable haptic feedback vibrations to use bypass flags without any permission, and then enables interruption policy bypassing for the SCROLL_* constants. The guard on SCROLL_* constants' bypassing of interruption policy uses the same flag as the one used for the scroll feedback APIs. Bug: 289480045 Test: atest HapticFeedbackVibrationProviderTest Test: atest VibratorManagerServiceTest Change-Id: I1eb6368c3685e71eead334644d973a9d21f6d207
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions