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

Commit 50ec2f2f authored by Ben Reich's avatar Ben Reich
Browse files

Ensure createDocument has a valid RootInfo to create it at

This is currently failing with the following error:

  java.lang.IllegalArgumentException: Can't create file file_1 in null
  parent.

This is because the root used is incorrect, use the appropriate root.

Unfortunately some of the tests also fail when the use_material3 flag is
enabled, so this updates the SortBot to check not only if the
table_header is visible but also if the column to sort by is visible.
This is because on use_material3 the Name table header is shown and
clickable, which causes a false positive.

Fix: 408352609
Test: atest com.android.documentsui.SortDocumentUiTest
Flag: EXEMPT test change
Change-Id: I87c2903849b461a1061ff02e622938e4e6de0017
parent c9384cb1
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