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

Commit 78d12d31 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use message.obj instead of msg.obj for onFailure method" into udc-dev

parents c5943960 4f6c3277
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1731,7 +1731,7 @@ public class AlwaysOnHotwordDetector extends AbstractDetector {
                        mExternalCallback.onDetected((EventPayload) message.obj);
                        break;
                    case MSG_DETECTION_ERROR:
                        mExternalCallback.onFailure((DetectorFailure) msg.obj);
                        mExternalCallback.onFailure((DetectorFailure) message.obj);
                        break;
                    case MSG_DETECTION_PAUSE:
                        mExternalCallback.onRecognitionPaused();