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

Commit 93294daa authored by menghanli's avatar menghanli
Browse files

Fix error prone of AccessibilityShortcutControllerTest

Bug: 260261870
Test: Build & atest AccessibilityShortcutControllerTest
Change-Id: I22738576dfa0231b45fd0dcc87fd63272379170e
parent 6c1198d7
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);