aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/license/LicenseUtils.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/tv/license/LicenseUtils.java')
-rw-r--r--src/com/android/tv/license/LicenseUtils.java17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/com/android/tv/license/LicenseUtils.java b/src/com/android/tv/license/LicenseUtils.java
index cf3fe751..1bae0c6a 100644
--- a/src/com/android/tv/license/LicenseUtils.java
+++ b/src/com/android/tv/license/LicenseUtils.java
@@ -17,22 +17,14 @@
package com.android.tv.license;
import android.content.res.AssetManager;
-
-import java.io.File;
import java.io.IOException;
import java.io.InputStream;
-/**
- * Utilities for showing open source licenses.
- */
+/** Utilities for showing open source licenses. */
public final class LicenseUtils {
- public final static String RATING_SOURCE_FILE =
- "file:///android_asset/rating_sources.html";
+ public static final String RATING_SOURCE_FILE = "file:///android_asset/rating_sources.html";
-
- /**
- * Checks if the rating_attribution.html asset is include in the apk.
- */
+ /** Checks if the rating_attribution.html asset is include in the apk. */
public static boolean hasRatingAttribution(AssetManager am) {
try (InputStream is = am.open("rating_sources.html")) {
return true;
@@ -41,6 +33,5 @@ public final class LicenseUtils {
}
}
- private LicenseUtils() {
- }
+ private LicenseUtils() {}
}