Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 125c2aaa authored by Ben Reich's avatar Ben Reich
Browse files

Make testClearSelectionInRecentsResetsActions more robust

If the device returns results that exceed the limits of the recents max,
then sometimes the file isn't returned immediately. Given the fact the
file exists or not is not required, just the selected state, let's
simply select the first file in the list of Recents. Regardless if the
file is visible or not (will fail if NO file is visible still).

Bug: 412776499
Test: atest com.android.documentsui.FilesActivityUiTest
Flag: com.android.documentsui.flags.use_material3
Change-Id: I1a6aa1ff06d81a606ff95cc5dbe073aa99a4779d
parent 033fa0df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment