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

Commit b93beaf6 authored by zhuw's avatar zhuw Committed by Gerrit - the friendly Code Review server
Browse files

Gallery2: Fix the photo preview cannot refresh after delete the photo

Delete a wrong conditional branch.

Change-Id: I63c064b0f39b1bfd6e3484b598f8b16d0a7bcaa7
CRs-Fixed: 1050960
parent 933ff5d0
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1336,10 +1336,6 @@ public class PhotoDataAdapter implements PhotoPage.Model {
                    info = executeAndWait(new GetUpdateInfo());
                }

                if (info.version != version) {
                    info.reloadContent = true;
                }
                if (!info.reloadContent) continue;
                info.size = mSource.getMediaItemCount();

                // Check it is from camera or not