aboutsummaryrefslogtreecommitdiff
path: root/common/src/com/android/tv/common/SharedPreferencesUtils.java
diff options
context:
space:
mode:
authorNick Chalko <nchalko@google.com>2017-10-03 10:16:37 -0700
committerNick Chalko <nchalko@google.com>2017-10-04 13:48:13 +0000
commit6ebde20b03db4c0d57f67acaac11832b610b966b (patch)
treed31e2adc1f9cce4f27ca07d30bee921032e33a3c /common/src/com/android/tv/common/SharedPreferencesUtils.java
parentee027a576ddebaf1ae739219be01b0240b15f80c (diff)
downloadTV-6ebde20b03db4c0d57f67acaac11832b610b966b.tar.gz
Sync to match Live Channels 1.15(ncis)oreo-mr1-dev
aka ub-tv-dev at a73a150bb7d0d1ce867ef980c6ac8411899d40ad Bug: 64021596 Change-Id: I7c544fd15e2c58784f8babc31877ad0dfeebb4c0 (cherry picked from commit 633eb826b8c97731dfc5ef12c7bf78a63734275d)
Diffstat (limited to 'common/src/com/android/tv/common/SharedPreferencesUtils.java')
-rw-r--r--common/src/com/android/tv/common/SharedPreferencesUtils.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/src/com/android/tv/common/SharedPreferencesUtils.java b/common/src/com/android/tv/common/SharedPreferencesUtils.java
index fb3d9b56..140c4e6f 100644
--- a/common/src/com/android/tv/common/SharedPreferencesUtils.java
+++ b/common/src/com/android/tv/common/SharedPreferencesUtils.java
@@ -35,6 +35,11 @@ public final class SharedPreferencesUtils {
public static final String SHARED_PREF_RECURRING_RUNNER = "sharedPreferencesRecurringRunner";
public static final String SHARED_PREF_EPG = "epg_preferences";
public static final String SHARED_PREF_SERIES_RECORDINGS = "seriesRecordings";
+ /** No need to pre-initialize. It's used only on the worker thread. */
+ public static final String SHARED_PREF_CHANNEL_LOGO_URIS = "channelLogoUris";
+ /** Stores the UI related settings */
+ public static final String SHARED_PREF_UI_SETTINGS = "ui_settings";
+ public static final String SHARED_PREF_PREVIEW_PROGRAMS = "previewPrograms";
private static boolean sInitializeCalled;
@@ -63,6 +68,7 @@ public final class SharedPreferencesUtils {
context.getSharedPreferences(SHARED_PREF_EPG, Context.MODE_PRIVATE);
context.getSharedPreferences(SHARED_PREF_SERIES_RECORDINGS,
Context.MODE_PRIVATE);
+ context.getSharedPreferences(SHARED_PREF_UI_SETTINGS, Context.MODE_PRIVATE);
return null;
}