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

Commit cd16f363 authored by Cassy Chun-Crogan's avatar Cassy Chun-Crogan
Browse files

[DocsUI M3] Fix GridEvenSpacingDecorationTest by setting measured width

Follow up to ag/32962378 that changed from using parent.getWidth() to
parent.getMeasuredWidth() in GridEvenSpacingDecoration. The
GridEvenSpacingDecorationTest was not updated to match this. It was
using setLeft() and setRight() which works to set the width but not the
measured width. Use setMeasuredDimension() instead.

Bug: 412919167
Test: atest GridEvenSpacingDecorationTest
Flag: com.android.documentsui.flags.use_material3
Change-Id: I519e34de5f8df51afba8d50c1e78d4d6e609973b
parent 65751957
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