commit | 6e64137e95362a8f6eef43ea676418567b327c96 | [log] [tgz] |
---|---|---|
author | Svet Ganov <svetoslavganov@google.com> | Fri Mar 02 09:21:30 2018 -0800 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Fri Mar 09 21:49:03 2018 +0000 |
tree | 8a2ed91d013a14058c606d6f41d044ecca7e184e | |
parent | dc9df6a12d848b32fbd041421c663d2014f32403 [diff] |
Revert "Revert "Use start/finish app op API for mic use"" This reverts commit 599ec462d94136949e0c90419ea99b0d9ba83eac. In addition it fixes an incorrect comparison against opPackageName instead of resolvedOpPackageName creating incorrect short circuit. Test: atest android.media.cts.AudioRecordAppOpTest "Okay Google" works fine bug: 64085448 Change-Id: I77a8486dfd6e4f020efdf05d28a856a32579ef31 (cherry picked from commit 5b81f550759c975fe6716e4e7870b11e523834d0)