commit | 05b345e504a0affd24eefa12686812c554b294ff | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Nov 18 12:36:27 2016 -0800 |
committer | Eric Laurent <elaurent@google.com> | Fri Nov 18 12:44:27 2016 -0800 |
tree | a83b3f6cdd2f56fd9d3564c811923a0ea427345c | |
parent | 6507185f5c59d39deeda6598ce50ee4900723501 [diff] |
audio policy: fix sound trigger capture disabling in startInput() Fix test on number of active sessions in startInput() deciding of overall capture state indication to sound trigger service. As session active count is incremented before the test, the count indicating the first active session is 1 and not 0. Bug: 3289438 Test: verify OK google detection on Angler Change-Id: I0a6c5d6240942e978fefffb536577b9d7dc29961