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

Commit 1926318c authored by Jason Chiu's avatar Jason Chiu Committed by Android (Google) Code Review
Browse files

Merge "Enable the suggesiton test on disabled components" into main

parents 4cc92858 45583d44
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -97,7 +97,8 @@ public class SettingsSuggestionsTest {
        final ComponentName componentName = new ComponentName(context, activityName);
        final ActivityInfo info;
        try {
            info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA);
            info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA
                    | PackageManager.MATCH_DISABLED_COMPONENTS);
        } catch (NameNotFoundException e) {
            throw new RuntimeException(e);
        }