diff options
author | jiabin <jiabin@google.com> | 2021-03-30 22:02:04 +0000 |
---|---|---|
committer | jiabin <jiabin@google.com> | 2021-03-31 22:29:18 +0000 |
commit | c1f0b55bfccb99b83a41fcb930412027360e0d7e (patch) | |
tree | 4c154c2168e3c0ee642f3731d2085127856e67b9 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 4c52d6b18ec04e216d1bb7e47c8fbe554876724f (diff) |
Pass vibrator information to audio server.
When initializing HapticGenerator, the resonant frequency and Q factor
of the vibrator engine are needed for BPF and BSF. Those values can be
got from vibrator manager service. As there is not a native interface,
those values are got by audio service when the system is ready and then
pass them to audio server.
Bug: 182612056
Test: manual, atest HapticGeneratorTest
Change-Id: I9d898ab3dee9222ae3f8a82cd030e6013f545cb0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions