commit | 11b564feb1554e7562a2589e277bd4147e2af6db | [log] [tgz] |
---|---|---|
author | Evan Severson <evanseverson@google.com> | Wed May 05 10:24:16 2021 -0700 |
committer | Evan Severson <evanseverson@google.com> | Tue May 18 14:02:04 2021 -0700 |
tree | 6ec27ccf058fc91b6dfe7111e11e45d41f311a3d | |
parent | c1c3ab17eadfe950fc9a6cfcc973b03d1e44e8c2 [diff] |
Show sensor usage dialog for assistant The problem is that the assistant doesn't draw its own UI in some cases so even though it's in the background the user considers it as a foreground app. We can check if the app trying to access the microphone currently has a voice interaction session which should be a good indicator that the user intends to user the app. Test: Use the assistant, observe dialog Bug: 178243539 Change-Id: Ie17f6e47a002e75467cce23fd74f5fcbc92aa577