Don't show Camera Icon when no pictures found in Albums
Remove the camera icon and show action.
Change-Id: I758ce1ebc4e25128023423c456b59300cd724f29
diff --git a/src/com/android/gallery3d/app/AlbumSetPage.java b/src/com/android/gallery3d/app/AlbumSetPage.java
index 580cd09..c171436 100755
--- a/src/com/android/gallery3d/app/AlbumSetPage.java
+++ b/src/com/android/gallery3d/app/AlbumSetPage.java
@@ -426,11 +426,6 @@
mCameraButton = null;
}
- private void showCameraButton() {
- if (mCameraButton == null && !setupCameraButton()) return;
- mCameraButton.setVisibility(View.VISIBLE);
- }
-
private void hideCameraButton() {
if (mCameraButton == null) return;
mCameraButton.setVisibility(View.GONE);
@@ -453,7 +448,6 @@
mShowedEmptyToastForSelf = true;
showEmptyAlbumToast(Toast.LENGTH_LONG);
mSlotView.invalidate();
- showCameraButton();
}
return;
} else {