summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-09-29 17:20:43 -0700
committerWu-cheng Li <wuchengli@google.com>2010-09-29 17:21:05 -0700
commit85ab591653bf09a4c851db374b000ecb18a7a970 (patch)
treebb3707b1c69cfca7d6336f0a6991a3ec9a681841 /src
parentdef8eadf32e75141d3a0b6a32222f2e4d0d5fee3 (diff)
downloadLegacyCamera-85ab591653bf09a4c851db374b000ecb18a7a970.zip
LegacyCamera-85ab591653bf09a4c851db374b000ecb18a7a970.tar.gz
LegacyCamera-85ab591653bf09a4c851db374b000ecb18a7a970.tar.bz2
Fix the crash when zoom is not supported.
Change-Id: I552f3857d52ed03a2e89e171ccb606dbf940ed44
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/Camera.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index f8c44a0..fc16f16 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -1005,8 +1005,6 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
onZoomValueChanged(index);
}
});
- } else {
- mHeadUpDisplay.setZoomListener(null);
}
updateSceneModeInHud();
}