From e5b3ce3da8537b7a6bb971f293a5940f117a7a3f Mon Sep 17 00:00:00 2001 From: Sascha Haeberling Date: Mon, 19 Aug 2013 11:45:44 -0700 Subject: Don't refresh item on resume as it leads to a filmstrip bug. Instead we should listen to the proper events when something is changed with the media. Change-Id: Ia5337a4a83de73962070148e0a10f0a12f769345 --- src/com/android/camera/CameraActivity.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java index 18fcee6cd..b58262b71 100644 --- a/src/com/android/camera/CameraActivity.java +++ b/src/com/android/camera/CameraActivity.java @@ -624,21 +624,6 @@ public class CameraActivity extends Activity mCurrentModule.onResumeAfterSuper(); setSwipingEnabled(true); - - // We might be returning from an editor that changed the current item. - updateCurrentDataItem(); - } - - private void updateCurrentDataItem() { - int currentDataId = mFilmStripView.getCurrentId(); - if (currentDataId < 0) { - return; - } - final LocalData localData = mDataAdapter.getLocalData(currentDataId); - if (localData == null) { - return; - } - mDataAdapter.refresh(getContentResolver(), localData.getContentUri()); } @Override -- cgit v1.2.3