summaryrefslogtreecommitdiff
authorSandy Luo <sandy.luo@amlogic.com>2018-01-12 03:47:26 (GMT)
committer Gerrit Code Review <gituser@scgit.amlogic.com>2018-01-12 03:47:27 (GMT)
commitbcbfb946d4fe81a02e57f68c3460e740fc3ef8da (patch)
tree37864c86946d04efeda88525cc5cff9cf94b9fcf
parentf13d026e12cba71d68c4f966b017489c59dd588a (diff)
parent62bf6a1f26dfca578b7052869d19506ac9585b4d (diff)
downloadTvInput-bcbfb946d4fe81a02e57f68c3460e740fc3ef8da.zip
TvInput-bcbfb946d4fe81a02e57f68c3460e740fc3ef8da.tar.gz
TvInput-bcbfb946d4fe81a02e57f68c3460e740fc3ef8da.tar.bz2
Merge "DroidLogicTvInput: reset closecaption status when play [2/2]" into m-amlogic
Diffstat
-rw-r--r--DroidLogicTvInput/src/com/droidlogic/tvinput/services/DTVInputService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/DroidLogicTvInput/src/com/droidlogic/tvinput/services/DTVInputService.java b/DroidLogicTvInput/src/com/droidlogic/tvinput/services/DTVInputService.java
index 55d7221..ed80be0 100644
--- a/DroidLogicTvInput/src/com/droidlogic/tvinput/services/DTVInputService.java
+++ b/DroidLogicTvInput/src/com/droidlogic/tvinput/services/DTVInputService.java
@@ -857,6 +857,9 @@ public class DTVInputService extends DroidLogicTvInputService implements TvContr
mSystemControlManager.setProperty(DTV_SUBTITLE_CAPTION_EXIST, String.valueOf(mCurrentCCExist));
startSubtitleCCBackground(info);
mCurrentCCEnabled = mCaptioningManager == null? false : mCaptioningManager.isEnabled();
+ } else {
+ mCurrentCCExist = 0;
+ mSystemControlManager.setProperty(DTV_SUBTITLE_CAPTION_EXIST, String.valueOf(mCurrentCCExist));
}
if (subtitleAutoStart)