diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-08-09 18:36:02 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-08-09 18:36:27 +0800 |
commit | 93ad273a53e7d2975a67d7d1f8a157f845e41cf2 (patch) | |
tree | ab85162c42448409f5521178c44f4850129c5f3d /src/com/android/camera/VideoCamera.java | |
parent | e5fe56fec047dec5ccb12c2001bacfd9455352da (diff) | |
download | LegacyCamera-93ad273a53e7d2975a67d7d1f8a157f845e41cf2.zip LegacyCamera-93ad273a53e7d2975a67d7d1f8a157f845e41cf2.tar.gz LegacyCamera-93ad273a53e7d2975a67d7d1f8a157f845e41cf2.tar.bz2 |
Use recording hint API.
bug:4266229
Change-Id: Iafd4b6cb4bf20a1bff3ed639f9e48ca71f026969
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. |