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

Commit 56c038e8 authored by David Zhao's avatar David Zhao Committed by Android (Google) Code Review
Browse files

Merge "Fix crash when calling sendTimeShiftMode"

parents fbef74b3 98a8b9e3
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -190,7 +190,9 @@ public class ITvInteractiveAppSessionWrapper
                break;
            }
            case DO_SEND_TIME_SHIFT_MODE: {
                mSessionImpl.sendTimeShiftMode((Integer) msg.obj);
                SomeArgs args = (SomeArgs) msg.obj;
                mSessionImpl.sendTimeShiftMode(args.argi1);
                args.recycle();
                break;
            }
            case DO_SEND_AVAILABLE_SPEEDS: {
@@ -445,8 +447,7 @@ public class ITvInteractiveAppSessionWrapper

    @Override
    public void sendTimeShiftMode(int mode) {
        mCaller.executeOrSendMessage(
                mCaller.obtainMessageI(DO_SEND_TIME_SHIFT_MODE, mode));
        mCaller.executeOrSendMessage(mCaller.obtainMessageI(DO_SEND_TIME_SHIFT_MODE, mode));
    }

    @Override