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

Commit 53796278 authored by huiyan's avatar huiyan Committed by Likai Ding
Browse files

Gallery2: Fix force close when copy pictures from PC to DUT

When copying pictures IndexOutOfBoundsException occur,
and the reference is null before invoking it.

Make sure the index is not out bounds.
Determine whether the reference is null before invoking it.

Change-Id: I35752c2fee23efd092e0bb2171d0e50cb6110bad
CRs-Fixed: 1002766
parent 77504ade
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