aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authornchalko <nchalko@google.com>2019-06-21 14:56:41 -0700
committerNick Chalko <nchalko@google.com>2019-06-24 05:49:02 -0700
commit6984b4868c648b9414778250d10b6a8ec10238ce (patch)
treef56c084b3970420258ca34dc89333a40cdfd7e84 /common
parent0386c14e442c4d5eadf4772e9f4f966b296d4170 (diff)
downloadTV-6984b4868c648b9414778250d10b6a8ec10238ce.tar.gz
Remove unused HasConcurrentDvrPlaybackFlags interface
PiperOrigin-RevId: 254473872 Change-Id: I503f1cd7d7f562095adc0bb2fab9499075f459f5
Diffstat (limited to 'common')
-rw-r--r--common/src/com/android/tv/common/BaseSingletons.java4
-rw-r--r--common/src/com/android/tv/common/flags/has/HasConcurrentDvrPlaybackFlags.java30
2 files changed, 1 insertions, 33 deletions
diff --git a/common/src/com/android/tv/common/BaseSingletons.java b/common/src/com/android/tv/common/BaseSingletons.java
index 3c6cff54..8a3820d1 100644
--- a/common/src/com/android/tv/common/BaseSingletons.java
+++ b/common/src/com/android/tv/common/BaseSingletons.java
@@ -18,13 +18,11 @@ package com.android.tv.common;
import com.android.tv.common.buildtype.HasBuildType;
import com.android.tv.common.flags.has.HasCloudEpgFlags;
-import com.android.tv.common.flags.has.HasConcurrentDvrPlaybackFlags;
import com.android.tv.common.recording.RecordingStorageStatusManager;
import com.android.tv.common.util.Clock;
/** Injection point for the base app */
-public interface BaseSingletons
- extends HasCloudEpgFlags, HasBuildType, HasConcurrentDvrPlaybackFlags {
+public interface BaseSingletons extends HasCloudEpgFlags, HasBuildType {
/*
* Do not add any new methods here.
diff --git a/common/src/com/android/tv/common/flags/has/HasConcurrentDvrPlaybackFlags.java b/common/src/com/android/tv/common/flags/has/HasConcurrentDvrPlaybackFlags.java
deleted file mode 100644
index b4710875..00000000
--- a/common/src/com/android/tv/common/flags/has/HasConcurrentDvrPlaybackFlags.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (C) 2018 The Android Open Source Project
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License
- */
-package com.android.tv.common.flags.has;
-
-import android.content.Context;
-import com.android.tv.common.flags.ConcurrentDvrPlaybackFlags;
-
-/** Has {@link ConcurrentDvrPlaybackFlags} */
-public interface HasConcurrentDvrPlaybackFlags {
-
- static ConcurrentDvrPlaybackFlags fromContext(Context context) {
- return ((HasConcurrentDvrPlaybackFlags) HasUtils.getApplicationContext(context))
- .getConcurrentDvrPlaybackFlags();
- }
-
- ConcurrentDvrPlaybackFlags getConcurrentDvrPlaybackFlags();
-}