commit | ef6532c9d46439e4773435c10624d097a53978df | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Tue Mar 24 16:12:07 2020 -0700 |
committer | Hui Yu <huiyu@google.com> | Wed Mar 25 11:06:49 2020 -0700 |
tree | 6d140d62b6bfa225383fbb17b0b6e282ea0a80c1 | |
parent | f08d9c835f9e422e34f19b0ed779cea1ec983105 [diff] |
Add isUidActiveOrForeground for camera/audio to use. The new interface isUidActiveOrForeground will call AM.isUidActiveOrForeground() which check isUidActive() first, if flase, then check isUidForeground. Bug: 151185692, 151777097, 109950150 Test: manual test. Change-Id: I51ed1fe780dbead0688e73a37c6c762f84e8bf23