Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14dabbbd authored by Doris Ling's avatar Doris Ling Committed by android-build-merger
Browse files

Add a new exclusive suggestion category for high priority suggestions. am: cb9088c4

am: 68499921

Change-Id: I49aadc8505e2846b9d9e66e11f625f54e5e7b53c
parents 9ac32193 68499921
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@ public class SuggestionCategoryRegistry {
    static final String CATEGORY_KEY_DEFERRED_SETUP =
            "com.android.settings.suggested.category.DEFERRED_SETUP";
    @VisibleForTesting
    static final String CATEGORY_KEY_HIGH_PRIORITY =
        "com.android.settings.suggested.category.HIGH_PRIORITY";
    @VisibleForTesting
    static final String CATEGORY_KEY_FIRST_IMPRESSION =
            "com.android.settings.suggested.category.FIRST_IMPRESSION";

@@ -40,6 +43,8 @@ public class SuggestionCategoryRegistry {
        CATEGORIES = new ArrayList<>();
        CATEGORIES.add(buildCategory(CATEGORY_KEY_DEFERRED_SETUP,
                true /* exclusive */, 14 * DateUtils.DAY_IN_MILLIS));
        CATEGORIES.add(buildCategory(CATEGORY_KEY_HIGH_PRIORITY,
                true /* exclusive */, 3 * DateUtils.DAY_IN_MILLIS));
        CATEGORIES.add(buildCategory(CATEGORY_KEY_FIRST_IMPRESSION,
                true /* exclusive */, 14 * DateUtils.DAY_IN_MILLIS));
        CATEGORIES.add(buildCategory("com.android.settings.suggested.category.LOCK_SCREEN",