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

Commit 5804c156 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: de8601e2

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

Change-Id: I354f7664173f5cdeb30b63c33de93c7aff23a2bb
parents 61c71abd de8601e2
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();