summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPuneet Lall <puneetl@google.com>2014-09-15 11:29:59 -0700
committerPuneet Lall <puneetl@google.com>2014-09-15 21:40:51 +0000
commitdbb048f11d6be915b855089ceaf1bca5ccb57991 (patch)
tree5ece3f20736426a91616fdc83d9e3eebcf14ff98
parent70a96525f16ca6c6abb9a7a9dab26ba1e61235dd (diff)
downloadandroid_packages_apps_Camera2-dbb048f11d6be915b855089ceaf1bca5ccb57991.tar.gz
android_packages_apps_Camera2-dbb048f11d6be915b855089ceaf1bca5ccb57991.tar.bz2
android_packages_apps_Camera2-dbb048f11d6be915b855089ceaf1bca5ccb57991.zip
Don't set mCameraAppUI to null in onDestroy
BUG: 17408047 Note that we originally set this to null to address BUG: 12805279 which involved leaking Views. However, this has regressed and will require another look regardless. The number of views leaked with and without the null assignment is the same, so this change does not make the regression any worse. Change-Id: If90aeebb081073eb4f5b928919fc67ef710e1054
-rw-r--r--src/com/android/camera/CameraActivity.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java
index 9a560fce3..a368b982e 100644
--- a/src/com/android/camera/CameraActivity.java
+++ b/src/com/android/camera/CameraActivity.java
@@ -1857,7 +1857,6 @@ public class CameraActivity extends Activity
mModeListView.setVisibilityChangedListener(null);
mCameraController = null;
mSettingsManager = null;
- mCameraAppUI = null;
mOrientationManager = null;
mButtonManager = null;
CameraAgentFactory.recycle(CameraAgentFactory.CameraApi.API_1);