summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJae Yoon Chong <jychong@google.com>2016-02-10 00:29:24 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-02-10 00:29:24 +0000
commit8dd54ed9c059c47059caf881a46062d72efb94ba (patch)
treef3d1e6f49b0c3279298483255516bd6731788f67
parent6b6a1b58c3cafb1b95825bd314ffa67378b07d88 (diff)
parent58e99758fb00d721a1c63f6ecb859f524d0415f9 (diff)
downloadphotoviewer-8dd54ed9c059c47059caf881a46062d72efb94ba.tar.gz
Merge "Fixed photo unbinding issue in PhotoViewFragment class" into ub-photoviewer-dorothea am: 93412db545 am: dd0e9fa4f4 am: 4368e64c47 am: 6246af0cc1
am: 58e99758fb * commit '58e99758fb00d721a1c63f6ecb859f524d0415f9': Fixed photo unbinding issue in PhotoViewFragment class
-rw-r--r--src/com/android/ex/photo/fragments/PhotoViewFragment.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/com/android/ex/photo/fragments/PhotoViewFragment.java b/src/com/android/ex/photo/fragments/PhotoViewFragment.java
index a943a60..ab9234d 100644
--- a/src/com/android/ex/photo/fragments/PhotoViewFragment.java
+++ b/src/com/android/ex/photo/fragments/PhotoViewFragment.java
@@ -290,7 +290,6 @@ public class PhotoViewFragment extends Fragment implements
}
mCallback.removeCursorListener(this);
mCallback.removeScreenListener(mPosition);
- resetPhotoView();
super.onPause();
}
@@ -432,15 +431,6 @@ public class PhotoViewFragment extends Fragment implements
mPhotoView.enableImageTransforms(enable);
}
- /**
- * Resets the photo view to it's default state w/ no bound photo.
- */
- private void resetPhotoView() {
- if (mPhotoView != null) {
- mPhotoView.bindPhoto(null);
- }
- }
-
@Override
public void onLoaderReset(Loader<BitmapResult> loader) {
// Do nothing