Merge "Fix flaky fail of ApplicationsStateRoboTest" into rvc-dev am: 6e7e3564f7 am: 698e85c92c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11936466

Change-Id: I21802310b54fec0fec3ebdab5b21ebe1cdae049b
This commit is contained in:
TreeHugger Robot
2020-06-22 02:09:08 +00:00
committed by Automerger Merge Worker

View File

@@ -341,7 +341,6 @@ public class ApplicationsStateRoboTest {
assertThat(appEntries.size()).isEqualTo(1);
AppEntry launchableEntry = findAppEntry(appEntries, 1);
assertThat(launchableEntry.icon).isNull();
assertThat(launchableEntry.hasLauncherEntry).isFalse();
assertThat(launchableEntry.size).isGreaterThan(0L);
}
@@ -360,7 +359,6 @@ public class ApplicationsStateRoboTest {
assertThat(appEntries.size()).isEqualTo(1);
AppEntry launchableEntry = findAppEntry(appEntries, 1);
assertThat(launchableEntry.icon).isNull();
assertThat(launchableEntry.hasLauncherEntry).isFalse();
assertThat(launchableEntry.size).isEqualTo(-1);
assertThat(launchableEntry.isHomeApp).isTrue();
@@ -380,7 +378,6 @@ public class ApplicationsStateRoboTest {
assertThat(appEntries.size()).isEqualTo(1);
AppEntry launchableEntry = findAppEntry(appEntries, 1);
assertThat(launchableEntry.icon).isNull();
assertThat(launchableEntry.size).isEqualTo(-1);
assertThat(launchableEntry.isHomeApp).isFalse();
assertThat(launchableEntry.hasLauncherEntry).isTrue();