diff options
author | Wale Ogunwale <ogunwale@google.com> | 2015-06-08 09:59:54 -0700 |
---|---|---|
committer | Wale Ogunwale <ogunwale@google.com> | 2015-06-08 09:59:54 -0700 |
commit | 4a922d470089bde49c2ca50b258973828a665aba (patch) | |
tree | 07e35add053586e1d17728fbfbddecfbe4184f23 | |
parent | b36ad5dc6bb6218aeabca17197001ac0a942219a (diff) | |
download | frameworks_base-4a922d470089bde49c2ca50b258973828a665aba.zip frameworks_base-4a922d470089bde49c2ca50b258973828a665aba.tar.gz frameworks_base-4a922d470089bde49c2ca50b258973828a665aba.tar.bz2 |
Release voice wake lock at end of voice interaction session
Bug: 21615776
Bug: 21615761
Change-Id: I75d568474d4df5f21ea5b616887c6187e54f69e7
-rw-r--r-- | services/core/java/com/android/server/am/ActivityManagerService.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/am/ActivityManagerService.java b/services/core/java/com/android/server/am/ActivityManagerService.java index 81b8457..f6186a5 100644 --- a/services/core/java/com/android/server/am/ActivityManagerService.java +++ b/services/core/java/com/android/server/am/ActivityManagerService.java @@ -10194,6 +10194,7 @@ public final class ActivityManagerService extends ActivityManagerNative void finishRunningVoiceLocked() { if (mRunningVoice != null) { mRunningVoice = null; + mVoiceWakeLock.release(); updateSleepIfNeededLocked(); } } |