diff options
author | Jae Yoon Chong <jychong@google.com> | 2016-02-10 00:21:26 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-02-10 00:21:26 +0000 |
commit | 58e99758fb00d721a1c63f6ecb859f524d0415f9 (patch) | |
tree | 19154718ea491a998ea4e2066ef7024d208c8eaf | |
parent | 73c25db147610f69aa94d710343271309952b98b (diff) | |
parent | 6246af0cc1a082f92a57255f3d295931ddae5d92 (diff) | |
download | photoviewer-58e99758fb00d721a1c63f6ecb859f524d0415f9.tar.gz |
Merge "Fixed photo unbinding issue in PhotoViewFragment class" into ub-photoviewer-dorothea am: 93412db545 am: dd0e9fa4f4 am: 4368e64c47
am: 6246af0cc1
* commit '6246af0cc1a082f92a57255f3d295931ddae5d92':
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 |