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

Commit 029cac40 authored by Lei Ju's avatar Lei Ju Committed by Android (Google) Code Review
Browse files

Merge "Implement IContextHubCallback.getName() for context hub service" into main

parents cddeb3f1 dff14f39
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -424,6 +424,7 @@ public abstract class IContextHubWrapper {
            // 9a17008d-6bf1-445a-9011-6d21bd985b6c
            private static final byte[] UUID = {-102, 23, 0, -115, 107, -15, 68, 90,
                                                -112, 17, 109, 33, -67, -104, 91, 108};
            private static final String NAME = "ContextHubService";

            ContextHubAidlCallback(int contextHubId, ICallback callback) {
                mContextHubId = contextHubId;
@@ -466,10 +467,14 @@ public abstract class IContextHubWrapper {
                // TODO(271471342): Implement
            }

            public byte[] getUuid() throws RemoteException {
            public byte[] getUuid() {
                return UUID;
            }

            public String getName() {
                return NAME;
            }

            @Override
            public String getInterfaceHash() {
                return android.hardware.contexthub.IContextHubCallback.HASH;