aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2016-09-08 06:01:56 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-09-08 06:01:56 +0000
commit3c1e7ad3818883ec1864261a1797fbad594e7803 (patch)
treed6acdcb35dfc4dc92f6c26ff23a03b865dcdf4e4
parentca6bdd284a1fb62cefae4650d7090b1b8c37c50e (diff)
parent457fbe3ee4bec2af2f9c0a269810a9c0553602a2 (diff)
downloadTV-3c1e7ad3818883ec1864261a1797fbad594e7803.tar.gz
Fix empty set to be of type String. am: 81fc92edea am: 8bd6ee9146 am: 10feebef03
am: 457fbe3ee4 Change-Id: I3b4b071774c0036a177f989fdb9f548a6fdd6098
-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 0d0032d1..1213d317 100644
--- a/src/com/android/tv/util/SetupUtils.java
+++ b/src/com/android/tv/util/SetupUtils.java
@@ -267,7 +267,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) {