Merge "Get session callback for tests" into udc-dev
This commit is contained in:
@@ -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
|
* Callback used to receive various status updates on the
|
||||||
* {@link android.media.tv.TvInputService.RecordingSession}
|
* {@link android.media.tv.TvInputService.RecordingSession}
|
||||||
|
|||||||
@@ -2340,6 +2340,10 @@ public class TvInteractiveAppManagerService extends SystemService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void binderDied() {
|
public void binderDied() {
|
||||||
|
synchronized (mLock) {
|
||||||
|
mSession = null;
|
||||||
|
clearSessionAndNotifyClientLocked(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user