diff options
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r-- | src/com/android/camera/VideoCamera.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java index 18c0764..c6817a5 100644 --- a/src/com/android/camera/VideoCamera.java +++ b/src/com/android/camera/VideoCamera.java @@ -1733,8 +1733,7 @@ public class VideoCamera extends ActivityBase mParameters.setFocusMode(Parameters.FOCUS_MODE_CONTINUOUS_VIDEO); } - // TODO: use camera API after it is published. - mParameters.set("recording-hint", "true"); + mParameters.setRecordingHint(true); mCameraDevice.setParameters(mParameters); // Keep preview size up to date. |