diff options
| author | 2023-05-09 03:47:27 +0000 | |
|---|---|---|
| committer | 2023-05-09 03:47:27 +0000 | |
| commit | 1c8def6432040145150c87ef8794bfcb739c84d6 (patch) | |
| tree | 6e8bdfbf8ada74c4adad575f7b1379c010116c6f /java/tests/src | |
| parent | c9d6d95c227a6155dbc159ac6e106e351eeeaf72 (diff) | |
| parent | 72e9bda3d304540515742135bf12e5f1dbed8857 (diff) | |
Fixes based upon UX feedback am: 72e9bda3d3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/IntentResolver/+/23087500
Change-Id: I8adec3fd6e858f42940a08496b0935648e611bcd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'java/tests/src')
| -rw-r--r-- | java/tests/src/com/android/intentresolver/UnbundledChooserActivityTest.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/java/tests/src/com/android/intentresolver/UnbundledChooserActivityTest.java b/java/tests/src/com/android/intentresolver/UnbundledChooserActivityTest.java index 5ea0b47d..317e2815 100644 --- a/java/tests/src/com/android/intentresolver/UnbundledChooserActivityTest.java +++ b/java/tests/src/com/android/intentresolver/UnbundledChooserActivityTest.java @@ -26,7 +26,6 @@ import static androidx.test.espresso.assertion.ViewAssertions.doesNotExist; import static androidx.test.espresso.assertion.ViewAssertions.matches; import static androidx.test.espresso.matcher.ViewMatchers.hasSibling; import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed; -import static androidx.test.espresso.matcher.ViewMatchers.isEnabled; import static androidx.test.espresso.matcher.ViewMatchers.withEffectiveVisibility; import static androidx.test.espresso.matcher.ViewMatchers.withId; import static androidx.test.espresso.matcher.ViewMatchers.withText; @@ -855,7 +854,7 @@ public class UnbundledChooserActivityTest { onView(withId(R.id.image_view)) .check(matches(withEffectiveVisibility(ViewMatchers.Visibility.GONE))); onView(withId(R.id.content_preview_text)) - .check(matches(allOf(isDisplayed(), not(isEnabled()), withText("Image only")))); + .check(matches(allOf(isDisplayed(), withText("Image only")))); } @Test |