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

Commit c6a2fb9e authored by Zhihai Xu's avatar Zhihai Xu Committed by Android (Google) Code Review
Browse files

Revert "Revert "fix the compilation error in broadcom partner branch""

This reverts commit 0e8131db

Change-Id: Id91d545d2884022ba8f021cb22d710f4ed421464
parent 0e8131db
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -139,6 +139,13 @@ final class Avrcp {
            }
        }

        public void setPlaybackState(int generationId, int state, long stateChangeTimeMs) {
            Handler handler = mLocalHandler.get();
            if (handler != null) {
                handler.obtainMessage(MSG_UPDATE_STATE, generationId, state).sendToTarget();
            }
        }

        @Override
        public void setMetadata(int generationId, Bundle metadata) {
            Handler handler = mLocalHandler.get();