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

Commit 5a9448fa authored by Jiyong Park's avatar Jiyong Park Committed by Automerger Merge Worker
Browse files

Merge changes from topic "aidl_freeze_tm" into tm-dev am: 118b6a3c

parents 515e8bd9 118b6a3c
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -206,6 +206,16 @@ public class SoundTriggerHw3Compat implements ISoundTriggerHal {
        public void onResourcesAvailable() {
            mDelegate.onResourcesAvailable();
        }

        @Override
        public int getInterfaceVersion() {
            return ISoundTriggerHwGlobalCallback.VERSION;
        }

        @Override
        public String getInterfaceHash() {
            return ISoundTriggerHwGlobalCallback.HASH;
        }
    }

    private static class ModelCallbackAdaper extends ISoundTriggerHwCallback.Stub {
@@ -233,5 +243,15 @@ public class SoundTriggerHw3Compat implements ISoundTriggerHal {
            event.recognitionStillActive |= event.status == RecognitionStatus.FORCED;
            mDelegate.recognitionCallback(model, event);
        }

        @Override
        public int getInterfaceVersion() {
            return ISoundTriggerHwCallback.VERSION;
        }

        @Override
        public String getInterfaceHash() {
            return ISoundTriggerHwCallback.HASH;
        }
    }
}