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

Commit 367707d4 authored by Bobby Georgescu's avatar Bobby Georgescu Committed by Android Git Automerger
Browse files

am 48b63eec: Merge "Hide Camera button on empty gallery when not available"...

am 48b63eec: Merge "Hide Camera button on empty gallery when not available" into gb-ub-photos-arches

* commit '48b63eec':
  Hide Camera button on empty gallery when not available
parents 1e89d463 48b63eec
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -365,6 +365,7 @@ public class AlbumSetPage extends ActivityState implements
    }
    }


    private boolean setupCameraButton() {
    private boolean setupCameraButton() {
        if (!GalleryUtils.isCameraAvailable(mActivity)) return false;
        RelativeLayout galleryRoot = (RelativeLayout) ((Activity) mActivity)
        RelativeLayout galleryRoot = (RelativeLayout) ((Activity) mActivity)
                .findViewById(R.id.gallery_root);
                .findViewById(R.id.gallery_root);
        if (galleryRoot == null) return false;
        if (galleryRoot == null) return false;