summaryrefslogtreecommitdiff
path: root/tools/dump-coverage/dump_coverage.cc
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2019-09-11 18:10:15 -0700
committerEric Laurent <elaurent@google.com>2019-09-12 01:37:15 +0000
commit2fedc5592046ef401714aefacba07a97f449ae79 (patch)
treea1a8d0c53c3a62dcab6dec70993149cbd5c9c709 /tools/dump-coverage/dump_coverage.cc
parentd796dbe3f9fffba3131f7a5cb12521fbb7accbc6 (diff)
SoundTriggerHelper: fix state after audioserver death
Make sure mRecognitionRequested is reset when a failure condition disables all recognitions: A stale value would prevent from registering call and power state listeners and properly update the states. Also: - In isRecognitionAllowed(), read current call and power states directly from services if listeners are not registered. - Also add missing null checks on mModule at various places. Bug: 139268184 Test: repro steps in the bug Change-Id: I763130b4d491a1a6a9e0756c7a18943e406ce73e
Diffstat (limited to 'tools/dump-coverage/dump_coverage.cc')
0 files changed, 0 insertions, 0 deletions