aboutsummaryrefslogtreecommitdiff
path: root/src/com/android/tv/features/TvFeatures.java
diff options
context:
space:
mode:
authorLive Channels Team <no-reply@google.com>2019-04-29 16:08:15 -0700
committerNick Chalko <nchalko@google.com>2019-05-15 08:58:32 -0700
commitbebfebaaf4d82a2907c2bc87c55b2fbd6cdf449d (patch)
tree2f59be5a5b42559b2eeacaff8bafb5342fb491cb /src/com/android/tv/features/TvFeatures.java
parentc85adda1e306f7f145588c081299a1e393a36b51 (diff)
downloadTV-bebfebaaf4d82a2907c2bc87c55b2fbd6cdf449d.tar.gz
Changes imported from Live Channels
- 245843574 CLEANUP: Remove unused fields and methods from TestSingle... by nchalko <nchalko@google.com> PiperOrigin-RevId: 245843574 Change-Id: I536e4a683efd642e1ff2f9594f6c08b3abc20b1e Test: m LiveTv
Diffstat (limited to 'src/com/android/tv/features/TvFeatures.java')
-rw-r--r--src/com/android/tv/features/TvFeatures.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/com/android/tv/features/TvFeatures.java b/src/com/android/tv/features/TvFeatures.java
index 208d53f6..68988bb3 100644
--- a/src/com/android/tv/features/TvFeatures.java
+++ b/src/com/android/tv/features/TvFeatures.java
@@ -28,9 +28,7 @@ import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.annotation.VisibleForTesting;
-import com.android.tv.common.experiments.Experiments;
import com.android.tv.common.feature.CommonFeatures;
-import com.android.tv.common.feature.ExperimentFeature;
import com.android.tv.common.feature.Feature;
import com.android.tv.common.feature.FeatureUtils;
import com.android.tv.common.feature.FlagFeature;
@@ -42,7 +40,7 @@ import com.android.tv.common.singletons.HasSingletons;
import com.android.tv.common.util.PermissionUtils;
/**
- * List of {@link Feature} for the Live TV App.
+ * List of {@link Feature} for the TV app.
*
* <p>Remove the {@code Feature} once it is launched.
*/
@@ -51,16 +49,6 @@ public final class TvFeatures extends CommonFeatures {
/** When enabled store network affiliation information to TV provider */
public static final Feature STORE_NETWORK_AFFILIATION = ENG_ONLY_FEATURE;
- /** When enabled use system setting for turning on analytics. */
- public static final Feature ANALYTICS_OPT_IN =
- ExperimentFeature.from(Experiments.ENABLE_ANALYTICS_VIA_CHECKBOX);
- /**
- * Analytics that include sensitive information such as channel or program identifiers.
- *
- * <p>See <a href="http://b/22062676">b/22062676</a>
- */
- public static final Feature ANALYTICS_V2 = and(ON, ANALYTICS_OPT_IN);
-
private static final Feature TV_PROVIDER_ALLOWS_INSERT_TO_PROGRAM_TABLE =
or(Sdk.AT_LEAST_O, PartnerFeatures.TVPROVIDER_ALLOWS_SYSTEM_INSERTS_TO_PROGRAM_TABLE);