Loading quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +1 −1 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { public void testExcludeFromRecents() throws Exception { startExcludeFromRecentsTestActivity(); OverviewTask currentTask = getAndAssertLaunchedApp().switchToOverview().getCurrentTask(); // TODO(b/326565120): the expected content description shouldn't be null but for now there // TODO(b/342627272): the expected content description shouldn't be null but for now there // is a bug that causes it to sometimes be for excludeForRecents tasks. assertTrue("Can't find ExcludeFromRecentsTestActivity after entering Overview from it", currentTask.containsContentDescription("ExcludeFromRecents") Loading tests/tapl/com/android/launcher3/tapl/OverviewTask.java +1 −1 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ public final class OverviewTask { * Returns whether the given String is contained in this Task's contentDescription. Also returns * true if both Strings are null. * * TODO(b/326565120): remove Nullable support once the bug causing it to be null is fixed. * TODO(b/342627272): remove Nullable support once the bug causing it to be null is fixed. */ public boolean containsContentDescription(@Nullable String expected, OverviewSplitTask overviewSplitTask) { Loading Loading
quickstep/tests/src/com/android/quickstep/TaplTestsQuickstep.java +1 −1 Original line number Diff line number Diff line Loading @@ -577,7 +577,7 @@ public class TaplTestsQuickstep extends AbstractQuickStepTest { public void testExcludeFromRecents() throws Exception { startExcludeFromRecentsTestActivity(); OverviewTask currentTask = getAndAssertLaunchedApp().switchToOverview().getCurrentTask(); // TODO(b/326565120): the expected content description shouldn't be null but for now there // TODO(b/342627272): the expected content description shouldn't be null but for now there // is a bug that causes it to sometimes be for excludeForRecents tasks. assertTrue("Can't find ExcludeFromRecentsTestActivity after entering Overview from it", currentTask.containsContentDescription("ExcludeFromRecents") Loading
tests/tapl/com/android/launcher3/tapl/OverviewTask.java +1 −1 Original line number Diff line number Diff line Loading @@ -282,7 +282,7 @@ public final class OverviewTask { * Returns whether the given String is contained in this Task's contentDescription. Also returns * true if both Strings are null. * * TODO(b/326565120): remove Nullable support once the bug causing it to be null is fixed. * TODO(b/342627272): remove Nullable support once the bug causing it to be null is fixed. */ public boolean containsContentDescription(@Nullable String expected, OverviewSplitTask overviewSplitTask) { Loading