aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2016-05-09 15:44:36 -0700
committerDan Willemsen <dwillemsen@google.com>2016-09-07 21:05:27 -0700
commit81fc92edea136da33280627f45f89a621487b82d (patch)
tree35058477586f666a54d466521364fa7a25e5d7cf /src
parente1fde8a5003c5970e1c8f0372a7116360d047039 (diff)
downloadTV-81fc92edea136da33280627f45f89a621487b82d.tar.gz
Fix empty set to be of type String.
Fixes error prone build. Bug: 27723540 Bug: 31140497 Change-Id: Iad2bfee291c02e88c9811c648f96ab27e34fd734 (cherry picked from commit 6dc65d5cd5fe9fee30a3b1054e2022ad471db5e0)
Diffstat (limited to 'src')
-rw-r--r--src/com/android/tv/util/SetupUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/tv/util/SetupUtils.java b/src/com/android/tv/util/SetupUtils.java
index 6d24d5bd..a7d9c423 100644
--- a/src/com/android/tv/util/SetupUtils.java
+++ b/src/com/android/tv/util/SetupUtils.java
@@ -272,7 +272,7 @@ public class SetupUtils {
// Find all already-verified packages.
Set<String> setUpPackages = new HashSet<>();
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);
- for (String input : sp.getStringSet(PREF_KEY_SET_UP_INPUTS, Collections.EMPTY_SET)) {
+ for (String input : sp.getStringSet(PREF_KEY_SET_UP_INPUTS, Collections.<String>emptySet())) {
if (!TextUtils.isEmpty(input)) {
ComponentName componentName = ComponentName.unflattenFromString(input);
if (componentName != null) {