From f3f25bf80b7d21f12442da8f82d17c79dd371692 Mon Sep 17 00:00:00 2001 From: Dan Tasse Date: Wed, 7 Jul 2010 13:17:17 -0700 Subject: Added some javadoc to Camera.takePicture() Change-Id: I62597a1417647eeac7611eaccd0df3bda210e3e7 --- core/java/android/hardware/Camera.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/java/android/hardware/Camera.java b/core/java/android/hardware/Camera.java index 0a2899fefeba..11008862edaf 100644 --- a/core/java/android/hardware/Camera.java +++ b/core/java/android/hardware/Camera.java @@ -535,6 +535,7 @@ public class Camera { * application does not need a particular callback, a null can be passed * instead of a callback method. * + * This method is only valid after {@link #startPreview()} has been called. * This method will stop the preview. Applications should not call {@link * #stopPreview()} before this. After jpeg callback is received, * applications can call {@link #startPreview()} to restart the preview. @@ -562,6 +563,7 @@ public class Camera { * application does not need a particular callback, a null can be passed * instead of a callback method. * + * This method is only valid after {@link #startPreview()} has been called. * This method will stop the preview. Applications should not call {@link * #stopPreview()} before this. After jpeg callback is received, * applications can call {@link #startPreview()} to restart the preview. -- cgit v1.2.3-59-g8ed1b