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

Commit b7a62a15 authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

Merge "Fix error prone of AccessibilityShortcutControllerTest" into tm-qpr-dev

parents fd4db766 93294daa
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -457,6 +457,7 @@ public class AccessibilityShortcutControllerTest {
        }
    }

    @Test
    public void getFrameworkFeatureMap_containsExpectedDefaultKeys() {
        final Map<ComponentName, AccessibilityShortcutController.ToggleableFrameworkFeatureInfo>
                frameworkFeatureMap =
@@ -489,6 +490,7 @@ public class AccessibilityShortcutControllerTest {
        assertFalse(frameworkFeatureMap.containsKey(ONE_HANDED_COMPONENT_NAME));
    }

    @Test
    public void testOnAccessibilityShortcut_forServiceWithNoSummary_doesNotCrash()
            throws Exception {
        configureShortcutEnabled(ENABLED_EXCEPT_LOCK_SCREEN);