aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/util/CaptionSettings.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/tv/util/CaptionSettings.java')
-rw-r--r--src/com/android/tv/util/CaptionSettings.java13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/com/android/tv/util/CaptionSettings.java b/src/com/android/tv/util/CaptionSettings.java
index 3b38905b..6d7e9901 100644
--- a/src/com/android/tv/util/CaptionSettings.java
+++ b/src/com/android/tv/util/CaptionSettings.java
@@ -18,7 +18,6 @@ package com.android.tv.util;
import android.content.Context;
import android.view.accessibility.CaptioningManager;
-
import java.util.Locale;
public class CaptionSettings {
@@ -32,8 +31,8 @@ public class CaptionSettings {
private String mTrackId;
public CaptionSettings(Context context) {
- mCaptioningManager = (CaptioningManager) context.getSystemService(
- Context.CAPTIONING_SERVICE);
+ mCaptioningManager =
+ (CaptioningManager) context.getSystemService(Context.CAPTIONING_SERVICE);
}
public final String getSystemLanguage() {
@@ -84,16 +83,12 @@ public class CaptionSettings {
mLanguage = language;
}
- /**
- * Returns the track ID to be used as an alternative key.
- */
+ /** Returns the track ID to be used as an alternative key. */
public String getTrackId() {
return mTrackId;
}
- /**
- * Sets the track ID to be used as an alternative key.
- */
+ /** Sets the track ID to be used as an alternative key. */
public void setTrackId(String trackId) {
mTrackId = trackId;
}