Loading core/tests/coretests/src/com/android/internal/app/ResolverActivityTest.java +0 −4 Original line number Original line Diff line number Diff line Loading @@ -516,8 +516,6 @@ public class ResolverActivityTest { onView(withText(R.string.resolver_work_tab)) onView(withText(R.string.resolver_work_tab)) .perform(click()); .perform(click()); waitForIdle(); waitForIdle(); // wait for the share sheet to expand Thread.sleep(ChooserActivity.LIST_VIEW_UPDATE_INTERVAL_IN_MILLIS); onView(first(allOf(withText(workResolvedComponentInfos.get(0) onView(first(allOf(withText(workResolvedComponentInfos.get(0) .getResolveInfoAt(0).activityInfo.applicationInfo.name), isCompletelyDisplayed()))) .getResolveInfoAt(0).activityInfo.applicationInfo.name), isCompletelyDisplayed()))) .perform(click()); .perform(click()); Loading Loading @@ -616,8 +614,6 @@ public class ResolverActivityTest { onView(withText(R.string.resolver_work_tab)) onView(withText(R.string.resolver_work_tab)) .perform(click()); .perform(click()); waitForIdle(); waitForIdle(); // wait for the share sheet to expand Thread.sleep(ChooserActivity.LIST_VIEW_UPDATE_INTERVAL_IN_MILLIS); onView(first(allOf( onView(first(allOf( withText(workResolvedComponentInfos.get(0) withText(workResolvedComponentInfos.get(0) .getResolveInfoAt(0).activityInfo.applicationInfo.name), .getResolveInfoAt(0).activityInfo.applicationInfo.name), Loading Loading
core/tests/coretests/src/com/android/internal/app/ResolverActivityTest.java +0 −4 Original line number Original line Diff line number Diff line Loading @@ -516,8 +516,6 @@ public class ResolverActivityTest { onView(withText(R.string.resolver_work_tab)) onView(withText(R.string.resolver_work_tab)) .perform(click()); .perform(click()); waitForIdle(); waitForIdle(); // wait for the share sheet to expand Thread.sleep(ChooserActivity.LIST_VIEW_UPDATE_INTERVAL_IN_MILLIS); onView(first(allOf(withText(workResolvedComponentInfos.get(0) onView(first(allOf(withText(workResolvedComponentInfos.get(0) .getResolveInfoAt(0).activityInfo.applicationInfo.name), isCompletelyDisplayed()))) .getResolveInfoAt(0).activityInfo.applicationInfo.name), isCompletelyDisplayed()))) .perform(click()); .perform(click()); Loading Loading @@ -616,8 +614,6 @@ public class ResolverActivityTest { onView(withText(R.string.resolver_work_tab)) onView(withText(R.string.resolver_work_tab)) .perform(click()); .perform(click()); waitForIdle(); waitForIdle(); // wait for the share sheet to expand Thread.sleep(ChooserActivity.LIST_VIEW_UPDATE_INTERVAL_IN_MILLIS); onView(first(allOf( onView(first(allOf( withText(workResolvedComponentInfos.get(0) withText(workResolvedComponentInfos.get(0) .getResolveInfoAt(0).activityInfo.applicationInfo.name), .getResolveInfoAt(0).activityInfo.applicationInfo.name), Loading