Bug 1384021 - ActivityStream: Remove outdated constants. r?mcomella
While editing this file I noticed that those constants are unused now.
This is leftover from
bug 1377287.
MozReview-Commit-ID: 2VQxfC5gq3g
--- a/mobile/android/base/java/org/mozilla/gecko/activitystream/ActivityStream.java
+++ b/mobile/android/base/java/org/mozilla/gecko/activitystream/ActivityStream.java
@@ -20,41 +20,16 @@ import org.mozilla.gecko.preferences.Gec
import org.mozilla.gecko.util.StringUtils;
import org.mozilla.gecko.util.publicsuffix.PublicSuffix;
import java.util.Arrays;
import java.util.List;
public class ActivityStream {
/**
- * List of undesired prefixes for labels based on a URL.
- *
- * This list is by no means complete and is based on those sources:
- * - https://gist.github.com/nchapman/36502ad115e8825d522a66549971a3f0
- * - https://github.com/mozilla/activity-stream/issues/1311
- */
- private static final List<String> UNDESIRED_LABEL_PREFIXES = Arrays.asList(
- "index.",
- "home."
- );
-
- /**
- * Undesired labels for labels based on a URL.
- *
- * This list is by no means complete and is based on those sources:
- * - https://gist.github.com/nchapman/36502ad115e8825d522a66549971a3f0
- * - https://github.com/mozilla/activity-stream/issues/1311
- */
- private static final List<String> UNDESIRED_LABELS = Arrays.asList(
- "render",
- "login",
- "edit"
- );
-
- /**
* Is Activity Stream enabled?
*/
public static boolean isEnabled(Context context) {
// Fennec 57+ here we come!
// The only reason this method still exists is so that the old home panel code isn't
// suddenly unused and triggers all kinds of lint errors. However we should clean
// this up soon (Bug 1386725).
return true;