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

Skip to content
Commit dcc25235 authored by Chao Zhang's avatar Chao Zhang
Browse files

Gallery2: fix crash when tap screen after all photos were deleted.

after delete all photos, mMediaSlotMap not be cleaned,
so getRectSlotByPosition() return a wrong index.

clean mMediaSlotMap in createSlots(),
make sure getRectSlotByPosition() return a correct value.

Change-Id: I9744fc0dc11aeb6ccec2abb825409b93c12675f6
CRs-Fixed: 971388
parent 083ecf6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment