commit | 3ac246c43294d7f7012bdcb0ccb7bae1aa695bd4 | [log] [tgz] |
---|---|---|
author | Ahaan Ugale <augale@google.com> | Wed Aug 04 16:33:36 2021 -0700 |
committer | Ahaan Ugale <augale@google.com> | Wed Aug 04 21:29:21 2021 -0700 |
tree | 557f23ec9dd9c6556b44c153513fb216a0125dce | |
parent | 389475e436f62dc79c0f34315e2ca851c2e17836 [diff] |
Send the HotwordDetectionService UID to AudioPolicy This change follows the pattern of how the IME UID is set. The UID is stored in AudioService and re-sent there if the audio server dies. Fix: 194368677 Test: manual - hotword works when another app is using the mic and in Auto projection mode; also after restarting the process or killing audio server Test: atest HotwordDetectionServiceBasicTest Change-Id: I325cb33d17387e62302967b261b6fe61086d8893