diff options
author | Jae Yoon Chong <jychong@google.com> | 2016-02-10 00:08:13 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-02-10 00:08:13 +0000 |
commit | dd0e9fa4f41d5326c494f97d1945e4b9a1cd6032 (patch) | |
tree | 330b0ab003ad07f84c1938badb6e81782d05e940 | |
parent | 6cea7c495329b56a066df6a5f4c53609291bc6bc (diff) | |
parent | 93412db545f56e4fd0623da35bd0b0f394cc22c8 (diff) | |
download | photoviewer-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.java | 10 |
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 |