summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJae Yoon Chong <jychong@google.com>2016-02-10 00:08:13 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-02-10 00:08:13 +0000
commitdd0e9fa4f41d5326c494f97d1945e4b9a1cd6032 (patch)
tree330b0ab003ad07f84c1938badb6e81782d05e940
parent6cea7c495329b56a066df6a5f4c53609291bc6bc (diff)
parent93412db545f56e4fd0623da35bd0b0f394cc22c8 (diff)
downloadphotoviewer-dd0e9fa4f41d5326c494f97d1945e4b9a1cd6032.tar.gz
Merge "Fixed photo unbinding issue in PhotoViewFragment class" into ub-photoviewer-dorothea
am: 93412db545 * commit '93412db545f56e4fd0623da35bd0b0f394cc22c8': 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