diff options
Diffstat (limited to 'src/com/android/camera/Camera.java')
-rw-r--r-- | src/com/android/camera/Camera.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java index 1bedb4f..8898510 100644 --- a/src/com/android/camera/Camera.java +++ b/src/com/android/camera/Camera.java @@ -82,7 +82,7 @@ public class Camera extends ActivityBase implements FocusManager.Listener, View.OnTouchListener, ShutterButton.OnShutterButtonListener, SurfaceHolder.Callback, ModePicker.OnModeChangeListener, FaceDetectionListener, CameraPreference.OnPreferenceChangedListener, - LocationManager.Listener, ShutterButton.OnShutterButtonLongPressListener { + LocationManager.Listener { private static final String TAG = "camera"; @@ -370,7 +370,6 @@ public class Camera extends ActivityBase implements FocusManager.Listener, // Initialize shutter button. mShutterButton = (ShutterButton) findViewById(R.id.shutter_button); mShutterButton.setOnShutterButtonListener(this); - mShutterButton.setOnShutterButtonLongPressListener(this); mShutterButton.setVisibility(View.VISIBLE); // Initialize focus UI. @@ -1393,15 +1392,6 @@ public class Camera extends ActivityBase implements FocusManager.Listener, mFocusManager.doSnap(); } - @Override - public void onShutterButtonLongPressed() { - if (mPausing || mCameraState == SNAPSHOT_IN_PROGRESS - || mCameraDevice == null || mPicturesRemaining <= 0) return; - - Log.v(TAG, "onShutterButtonLongPressed"); - mFocusManager.shutterLongPressed(); - } - private OnScreenHint mStorageHint; private void updateStorageHint() { |