diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-04-11 09:23:19 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2018-04-11 09:23:19 -0700 |
commit | 09dd8c47d81abc486161194f82fb1d3fafed349a (patch) | |
tree | be84c9f0a987f0dd0f08346b37ec51791b12e0cf /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | d565f049575cb63fef1b92c47599da928a118112 (diff) |
Properly disconnect after skipping an operation.
If we skip an operation we used to just return. This lead to the service
staying connected, holding the wakelock and consuming power.
Hence after we skip an operation we need to check if we can disconnect
the service, basically treating skipping an operation similar failing
to execute the operation.
Fixes: 77766977
Test: Detected music via sound trigger service and triggered dropping of
operations
Change-Id: Ia837d628193b3a5c2763f4aae666193d624b6d7f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions