Merge "Update out-of-date TODO comment" into main

This commit is contained in:
Treehugger Robot authored and Android (Google) Code Review committed 2024-09-17 16:25:49 +00:00
commit 545440327d
2 files changed
+2 -2

No files matched your search

@@ -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")
@@ -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) {