summaryrefslogtreecommitdiff
path: root/power-libperfmgr/aidl/PowerHintSession.cpp
diff options
context:
space:
mode:
authorChase Wu <chasewu@google.com>2023-01-04 17:03:36 +0800
committerChase Wu <chasewu@google.com>2023-01-10 16:17:23 +0800
commitbcd846dcba14eb4df5eedf7a48fb8d78051fa99a (patch)
tree444326570a6d35e0615a527102cc48624aa3a4a9 /power-libperfmgr/aidl/PowerHintSession.cpp
parent0aaebb34f1bf6deaae986d5063cf28b46b22fc58 (diff)
[DO NOT MERGE] cs40l25: add state polling timeout
Replacing the infinite vibe_state checking to prevent the abnormal non-stop symptom which would cause HAL stuck on the checking step. Even if there is a vibration currently playing, we should stop the current vibration and play the new one. We can assume this because the Framework will handle all the prioritization of requests before invoking HAL APIs. Bug: 250074997 Test: Use previous non-stop FW to test it Change-Id: I5dfc0cd4eb581d4db23094e9c73ce8e08ad85ea6
Diffstat (limited to 'power-libperfmgr/aidl/PowerHintSession.cpp')
0 files changed, 0 insertions, 0 deletions