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

Commit 7206bf09 authored by Shubang Lu's avatar Shubang Lu Committed by Android (Google) Code Review
Browse files

Merge "Get session callback for tests" into udc-dev

parents ed169035 68f9df16
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -396,6 +396,12 @@ public class TvRecordingClient {
        }
    }

    // For testing purposes only.
    /** @hide */
    public TvInputManager.SessionCallback getSessionCallback() {
        return mSessionCallback;
    }

    /**
     * Callback used to receive various status updates on the
     * {@link android.media.tv.TvInputService.RecordingSession}
+4 −0
Original line number Diff line number Diff line
@@ -2340,6 +2340,10 @@ public class TvInteractiveAppManagerService extends SystemService {

        @Override
        public void binderDied() {
            synchronized (mLock) {
                mSession = null;
                clearSessionAndNotifyClientLocked(this);
            }
        }
    }