Merge "TIF: call RecordingCallback.onConnected when SessionCallback.onConnected is called"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5d30450389
@@ -284,6 +284,18 @@ public class TvRecordingClient {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
void onConnected(TvInputManager.Session session) {
|
||||
if (DEBUG) {
|
||||
Log.d(TAG, "onConnected()");
|
||||
}
|
||||
if (this != mSessionCallback) {
|
||||
Log.w(TAG, "onConnected - session not created");
|
||||
return;
|
||||
}
|
||||
mCallback.onConnected();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSessionReleased(TvInputManager.Session session) {
|
||||
if (DEBUG) {
|
||||
|
||||
Reference in New Issue
Block a user