diff options
author | Wu-cheng Li <wuchengli@google.com> | 2010-09-29 17:20:43 -0700 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2010-09-29 17:21:05 -0700 |
commit | 85ab591653bf09a4c851db374b000ecb18a7a970 (patch) | |
tree | bb3707b1c69cfca7d6336f0a6991a3ec9a681841 /src | |
parent | def8eadf32e75141d3a0b6a32222f2e4d0d5fee3 (diff) | |
download | LegacyCamera-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.java | 2 |
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(); } |