diff options
author | Michael Wright <michaelwr@google.com> | 2018-01-24 00:32:53 +0000 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2018-01-24 23:39:57 +0000 |
commit | 35a0c676eea576c8903477465e43a2ecc4dc68f6 (patch) | |
tree | 474ba60a60faebf27e777cad4636130f027a6669 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5e5c8d7768d823f12d1383c7f352a17045a4a374 (diff) |
Add setting to control vibration intensity.
This patch adds two distinct vibration control settings: one for
notifications and ringtones, and one for haptic feedback. Since we don't
always have the exact intent of a given vibration, VibratorService will
do its best to classify each VibrationEffect into one of these two
categories and then scale the vibration accordingly based on the
intensity setting.
Bug: 64185329
Test: cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibratorTest
cts-tradefed run commandAndExit cts-dev -m CtsOsTestCases -t android.os.cts.VibrationEffectTest
Change-Id: If16237f4782281aaab33e4a0f55c29f1a30ac493
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions