Commit 6d57bca1 authored by jinwu's avatar jinwu Committed by Arne Coucheron

Don't show Camera Icon when no pictures found in Albums

Remove the camera icon and show action.

Change-Id: I758ce1ebc4e25128023423c456b59300cd724f29
parent 15e538ab
......@@ -440,11 +440,6 @@ public class AlbumSetPage extends ActivityState implements
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);
......@@ -467,7 +462,6 @@ public class AlbumSetPage extends ActivityState implements
mShowedEmptyToastForSelf = true;
showEmptyAlbumToast(Toast.LENGTH_LONG);
mSlotView.invalidate();
showCameraButton();
}
return;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment