OSDN Git Service

Don't unload the sound model on stopRecognition
authorSandeep Siddhartha <sansid@google.com>
Thu, 16 Oct 2014 23:17:11 +0000 (16:17 -0700)
committerSandeep Siddhartha <sansid@google.com>
Wed, 12 Nov 2014 17:57:27 +0000 (09:57 -0800)
commit45c00b5877e908f44853783b42deb437cfd30d94
treea1777be0bddcc8c405bb2a197f6f79020a6469a5
parent4fc2ea8402b62001b225bf4e1a335c4cbf3b65ea
Don't unload the sound model on stopRecognition

This helps us in majority of the scenarios where the sound model doesn't
change across start/stop calls.

Bug: 17954633
Change-Id: Ibff817bb69bc69d2bb3a2603460fed596688b892
core/java/android/hardware/soundtrigger/SoundTrigger.java
services/voiceinteraction/java/com/android/server/voiceinteraction/SoundTriggerHelper.java