From 77fa1d232c1a804d17f3b1ceeaa6ab6c6555b047 Mon Sep 17 00:00:00 2001 From: Bobby Georgescu Date: Tue, 9 Oct 2012 16:23:36 -0700 Subject: Correct stale background on completely empty gallery Bug: 7314560 When the last album is delete by long pressing and pressing the delete icon, and the gallery is left completely empty, the slotview was not being correctly invalidated. Change-Id: I2d5ec7ac7fb9604fd74ca8fa4fa6df09d6dec49d --- src/com/android/gallery3d/app/AlbumSetPage.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/com/android/gallery3d/app/AlbumSetPage.java b/src/com/android/gallery3d/app/AlbumSetPage.java index eaf91451a..1719b89f9 100644 --- a/src/com/android/gallery3d/app/AlbumSetPage.java +++ b/src/com/android/gallery3d/app/AlbumSetPage.java @@ -421,6 +421,7 @@ public class AlbumSetPage extends ActivityState implements } else { mShowedEmptyToastForSelf = true; showEmptyAlbumToast(Toast.LENGTH_LONG); + mSlotView.invalidate(); showCameraButton(); } return; -- cgit v1.2.3