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

Commit 263283f7 authored by Wenbo Jie's avatar Wenbo Jie
Browse files

[DocsUI M3] Use GridDocumentHolder for photo picking

Previously there was a GridPhotoHolder class for image grid items
in photo picking mode (e.g. ACTION_OPEN_DOCUMENT intent with
"image/*" Mime type), which creates style inconsistencies
especially when images and directories are shown together. To
enforce style consistency, this CL stops using GridPhotoHolder
and all specific setup for grid photo picking and use
GridDocumentHolder instead, same as other grid items.

Note: previously in GridPhotoHolder there's no selection region,
after replacing to GridDocumentHolder it has the same selection
region logic as other items for consistency.

Check the attached bug for the before/after comparison.

Bug: 401107792
Test: m DocumentsUIGoogle && manual inspection
Flag: com.android.documentsui.flags.use_material3
Change-Id: I2ba8b8157ff13949875350914269718db55714ce
parent befca12b
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