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

Commit 677ff91f authored by Matías Hernández's avatar Matías Hernández
Browse files

Remove some flags from the parameterization of PreferencesHelperTest

Several of these have already been in Nextfood for a while, and the exponential combination was causing the test to exceed its allotted time.

Bug: 393054998
Test: atest PreferencesHelperTest
Flag: TEST_ONLY
Change-Id: Ia51c98f1c143daca0b057b7ddb75232e002ce17f
parent dedd2571
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -18,7 +18,6 @@ package com.android.server.notification;
import static android.app.AppOpsManager.MODE_ALLOWED;
import static android.app.AppOpsManager.MODE_ALLOWED;
import static android.app.AppOpsManager.MODE_DEFAULT;
import static android.app.AppOpsManager.MODE_DEFAULT;
import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
import static android.app.AppOpsManager.OP_SYSTEM_ALERT_WINDOW;
import static android.app.Flags.FLAG_MODES_UI;
import static android.app.Flags.FLAG_NOTIFICATION_CLASSIFICATION_UI;
import static android.app.Flags.FLAG_NOTIFICATION_CLASSIFICATION_UI;
import static android.app.Notification.VISIBILITY_PRIVATE;
import static android.app.Notification.VISIBILITY_PRIVATE;
import static android.app.Notification.VISIBILITY_SECRET;
import static android.app.Notification.VISIBILITY_SECRET;
@@ -259,10 +258,9 @@ public class PreferencesHelperTest extends UiServiceTestCase {
    @Parameters(name = "{0}")
    @Parameters(name = "{0}")
    public static List<FlagsParameterization> getParams() {
    public static List<FlagsParameterization> getParams() {
        return FlagsParameterization.allCombinationsOf(
        return FlagsParameterization.allCombinationsOf(
                android.app.Flags.FLAG_API_RICH_ONGOING,
                android.app.Flags.FLAG_UI_RICH_ONGOING,
                android.app.Flags.FLAG_UI_RICH_ONGOING,
                FLAG_NOTIFICATION_CLASSIFICATION, FLAG_NOTIFICATION_CLASSIFICATION_UI,
                FLAG_NOTIFICATION_CLASSIFICATION_UI,
                FLAG_MODES_UI, android.app.Flags.FLAG_NM_BINDER_PERF_CACHE_CHANNELS);
                android.app.Flags.FLAG_NM_BINDER_PERF_CACHE_CHANNELS);
    }
    }


    public PreferencesHelperTest(FlagsParameterization flags) {
    public PreferencesHelperTest(FlagsParameterization flags) {