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

Commit c3f3d422 authored by Jaewan Kim's avatar Jaewan Kim Committed by android-build-merger
Browse files

Merge "MediaSession2: Add CommandGroup#add/removeCommand(int)" into pi-dev am: e711ebc4

am: 669ceda1

Change-Id: I77160c04691a98c026a6810f30062d8ebf4fb52b
parents f9fce52c 669ceda1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -519,6 +519,10 @@ public class MediaSession2 implements AutoCloseable {
            mProvider.addCommand_impl(command);
        }

        public void addCommand(int commandCode) {
            // TODO(jaewna): Implement
        }

        public void addAllPredefinedCommands() {
            mProvider.addAllPredefinedCommands_impl();
        }
@@ -527,6 +531,10 @@ public class MediaSession2 implements AutoCloseable {
            mProvider.removeCommand_impl(command);
        }

        public void removeCommand(int commandCode) {
            // TODO(jaewan): Implement.
        }

        public boolean hasCommand(@NonNull Command command) {
            return mProvider.hasCommand_impl(command);
        }