aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2016-05-09 15:44:36 -0700
committerIan Rogers <irogers@google.com>2016-05-09 15:44:36 -0700
commit6dc65d5cd5fe9fee30a3b1054e2022ad471db5e0 (patch)
treef73b5633dd62838ed55fb14f1f9761e31e9ca7d6 /src
parent2e1279b8bbe0603fb4399b25b73121bed5953c46 (diff)
downloadTV-6dc65d5cd5fe9fee30a3b1054e2022ad471db5e0.tar.gz
Fix empty set to be of type String.
Fixes error prone build. Bug: 27723540 Change-Id: Iad2bfee291c02e88c9811c648f96ab27e34fd734
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) {