diff options
author | Bobby Georgescu <georgescu@google.com> | 2012-10-09 16:23:36 -0700 |
---|---|---|
committer | Bobby Georgescu <georgescu@google.com> | 2012-10-09 16:25:20 -0700 |
commit | 25b203e716efd63bc0c354344b6c55c9aee9faac (patch) | |
tree | 4fb28ffa8ad9f68f3c63818e3926efc745a120bc /src | |
parent | d69035a67e0c650e2aa076ee678a6f9a82dffa77 (diff) | |
download | android_packages_apps_Snap-25b203e716efd63bc0c354344b6c55c9aee9faac.tar.gz android_packages_apps_Snap-25b203e716efd63bc0c354344b6c55c9aee9faac.tar.bz2 android_packages_apps_Snap-25b203e716efd63bc0c354344b6c55c9aee9faac.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/gallery3d/app/AlbumSetPage.java | 1 |
1 files changed, 1 insertions, 0 deletions
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; |