Add AppOps listening to STService
Listen for RECORD AppOp revocations for SoundTrigger clients, pause recognition if they enter MODE_IGNORED, and resume recognition after MODE_GRANTED. Bug: 272147641 Fixes: 267960430 Fixes: 274960506 Test: AlwaysOnHotwordDetectorTest# testAppOpsLostReacquired_recognitionPausedResumed Test: Manual verification of pause/resume flow when mic blocked Test: Manual verification of pause/resume when booted w/ mic blocked Change-Id: Ie907a46c9503ec163d466914f84e34c494ffd8d7
Loading
Please register or sign in to comment