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

Commit 8dbdb4ec authored by Riley Jones's avatar Riley Jones Committed by Android (Google) Code Review
Browse files

Merge "Fix for EditShortcutsPreferenceFragmentTest to mock the correct...

Merge "Fix for EditShortcutsPreferenceFragmentTest to mock the correct AccessibilityTarget fields" into main
parents d625b72b 3a5b5a4d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -549,6 +549,7 @@ public class EditShortcutsPreferenceFragmentTest {
            ComponentName componentName, String label) {
        AccessibilityTarget target = mock(AccessibilityTarget.class);
        when(target.getComponentName()).thenReturn(componentName);
        when(target.getId()).thenReturn(componentName.flattenToString());
        when(target.getLabel()).thenReturn(label);
        return target;
    }