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

Commit b0fa8b0c 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

* commit '7cdc320a':
  Keep STH state in sync with HAL

Change-Id: Icf6fd3d9416ce062703163a5f8f62e2d014bf89f
parents 71a9d409 7cdc320a
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();