summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/VideoModule.java
diff options
context:
space:
mode:
authorSascha Haeberling <haeberling@google.com>2013-08-13 14:41:10 -0700
committerSascha Haeberling <haeberling@google.com>2013-08-13 16:00:58 -0700
commitddef7798808fb8871650a5a803aec1f169a08bcb (patch)
tree36b0616bbd20500cdeeb5d86239bfb65c6b35561 /src/com/android/camera/VideoModule.java
parent02ed1b27b8cd2d0493ed18aea1ce304b6837ef64 (diff)
downloadandroid_packages_apps_Snap-ddef7798808fb8871650a5a803aec1f169a08bcb.tar.gz
android_packages_apps_Snap-ddef7798808fb8871650a5a803aec1f169a08bcb.tar.bz2
android_packages_apps_Snap-ddef7798808fb8871650a5a803aec1f169a08bcb.zip
Clean up unused code.
Change-Id: Ib7d05cd1bd908708ad96a8b215c79162950e0221
Diffstat (limited to 'src/com/android/camera/VideoModule.java')
-rw-r--r--src/com/android/camera/VideoModule.java13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/com/android/camera/VideoModule.java b/src/com/android/camera/VideoModule.java
index 29fa79879..ada0a606f 100644
--- a/src/com/android/camera/VideoModule.java
+++ b/src/com/android/camera/VideoModule.java
@@ -49,7 +49,6 @@ import android.provider.MediaStore.Video;
import android.util.Log;
import android.view.KeyEvent;
import android.view.OrientationEventListener;
-import android.view.Surface;
import android.view.View;
import android.view.WindowManager;
import android.widget.Toast;
@@ -177,7 +176,6 @@ public class VideoModule implements CameraModule,
private LocationManager mLocationManager;
private OrientationManager mOrientationManager;
- private Surface mSurface;
private int mPendingSwitchCameraId;
private boolean mOpenCameraFail;
private boolean mCameraDisabled;
@@ -1197,9 +1195,6 @@ public class VideoModule implements CameraModule,
// If the mCameraDevice is null, then this activity is going to finish
if (mCameraDevice == null) return;
- boolean inLandscape = (mActivity.getResources().getConfiguration().orientation
- == Configuration.ORIENTATION_LANDSCAPE);
-
CameraInfo info = CameraHolder.instance().getCameraInfo()[mCameraId];
mEffectsDisplayResult = false;
@@ -1534,14 +1529,6 @@ public class VideoModule implements CameraModule,
mUI.showTimeLapseUI(false);
}
- private void hideAlert() {
- mUI.enableCameraControls(true);
- mUI.hideReviewUI();
- if (mCaptureTimeLapse) {
- mUI.showTimeLapseUI(true);
- }
- }
-
private boolean stopVideoRecording() {
Log.v(TAG, "stopVideoRecording");
mUI.setSwipingEnabled(true);