commit | 7cf67054550e8e6ea2379d7b0f0653796ce85062 | [log] [tgz] |
---|---|---|
author | Youngsang Cho <youngsang@google.com> | Tue Aug 26 23:12:59 2014 +0900 |
committer | Youngsang Cho <youngsang@google.com> | Tue Aug 26 23:12:59 2014 +0900 |
tree | 9491dbeea9e87059cef05827dad4b404b64230c0 | |
parent | 6d388af85379f4d534002118caa9ba4f7812e049 [diff] |
Reset a session callback variable when tune is failed Change-Id: I7c0188d916047f8331c74ce7a29b0a5228583979
diff --git a/media/java/android/media/tv/TvView.java b/media/java/android/media/tv/TvView.java index 7110db9..e51745e 100644 --- a/media/java/android/media/tv/TvView.java +++ b/media/java/android/media/tv/TvView.java
@@ -858,6 +858,7 @@ mSession.setStreamVolume(mStreamVolume); } } else { + mSessionCallback = null; if (mListener != null) { mListener.onConnectionFailed(mInputId); }