private ImageView mEditButton;
private void setupEditButton() {
+ if (mSecureAlbum != null) return;
RelativeLayout galleryRoot = (RelativeLayout) ((Activity) mActivity)
.findViewById(mAppBridge != null ? R.id.content : R.id.gallery_root);
if (galleryRoot == null) return;
}
private void cleanupEditButton() {
+ if (mEditButton == null) return;
RelativeLayout galleryRoot = (RelativeLayout) ((Activity) mActivity)
.findViewById(mAppBridge != null ? R.id.content : R.id.gallery_root);
if (galleryRoot == null) return;