Merge "Fix error prone of AccessibilityShortcutControllerTest" into tm-qpr-dev
This commit is contained in:
@@ -457,6 +457,7 @@ public class AccessibilityShortcutControllerTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void getFrameworkFeatureMap_containsExpectedDefaultKeys() {
|
public void getFrameworkFeatureMap_containsExpectedDefaultKeys() {
|
||||||
final Map<ComponentName, AccessibilityShortcutController.ToggleableFrameworkFeatureInfo>
|
final Map<ComponentName, AccessibilityShortcutController.ToggleableFrameworkFeatureInfo>
|
||||||
frameworkFeatureMap =
|
frameworkFeatureMap =
|
||||||
@@ -489,6 +490,7 @@ public class AccessibilityShortcutControllerTest {
|
|||||||
assertFalse(frameworkFeatureMap.containsKey(ONE_HANDED_COMPONENT_NAME));
|
assertFalse(frameworkFeatureMap.containsKey(ONE_HANDED_COMPONENT_NAME));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
public void testOnAccessibilityShortcut_forServiceWithNoSummary_doesNotCrash()
|
public void testOnAccessibilityShortcut_forServiceWithNoSummary_doesNotCrash()
|
||||||
throws Exception {
|
throws Exception {
|
||||||
configureShortcutEnabled(ENABLED_EXCEPT_LOCK_SCREEN);
|
configureShortcutEnabled(ENABLED_EXCEPT_LOCK_SCREEN);
|
||||||
|
|||||||
Reference in New Issue
Block a user