Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9a566fd authored by Chris Thornton's avatar Chris Thornton Committed by android-build-merger
Browse files

Merge "Keep STH state in sync with HAL" into nyc-dev am: 7cdc320a

am: b0fa8b0c

* commit 'b0fa8b0c':
  Keep STH state in sync with HAL

Change-Id: I217f91cd12fc8d89f76490c0847bbdbc8eb594fe
parents 09310864 b0fa8b0c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -501,7 +501,10 @@ public class SoundTriggerHelper implements SoundTrigger.StatusListener {
                    if (status != STATUS_OK) {
                        Slog.w(TAG, "Error stopping keyphrase model: " + model.getHandle());
                    }
                    model.clearState();
                    model.setStopped();
                    model.setRequested(false);
                    model.clearCallback();
                    model.setRecognitionConfig(null);
                }
            }
            internalClearGlobalStateLocked();