author | Zhiwei Yan <zhiwei.yan@amlogic.com> | 2018-01-10 05:04:26 (GMT) |
---|---|---|
committer | Zhiwei Yan <zhiwei.yan@amlogic.com> | 2018-01-11 02:12:06 (GMT) |
commit | 62bf6a1f26dfca578b7052869d19506ac9585b4d (patch) | |
tree | d6ff6eb676fb54e815d6cb4d18555d6d0ee9d6bf | |
parent | 41e08f0d7997533071a6088c6b169fa0927d9479 (diff) | |
download | TvInput-62bf6a1f26dfca578b7052869d19506ac9585b4d.zip TvInput-62bf6a1f26dfca578b7052869d19506ac9585b4d.tar.gz TvInput-62bf6a1f26dfca578b7052869d19506ac9585b4d.tar.bz2 |
DroidLogicTvInput: reset closecaption status when play [2/2]
PD# 157957
reset closecaption status when play
Change-Id: Ica7442e495ce11894dccb6b6dd6ffa837cc2b5e5
-rw-r--r-- | DroidLogicTvInput/src/com/droidlogic/tvinput/services/DTVInputService.java | 3 |
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 05bc5fa..2e0012f 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) |