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

This commit is contained in:
Shubang Lu
2023-04-22 02:54:34 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -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}

View File

@@ -2340,6 +2340,10 @@ public class TvInteractiveAppManagerService extends SystemService {
@Override
public void binderDied() {
synchronized (mLock) {
mSession = null;
clearSessionAndNotifyClientLocked(this);
}
}
}