Skip to content

Commit f353f94

Browse files
Eino-Ville TalvalaAndroid (Google) Code Review
authored andcommitted
Merge "NEW_API: Unhide android.hardware.Camera#enableShutterSound" into jb-mr1-dev
2 parents f60921d + af87681 commit f353f94

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

api/current.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9675,6 +9675,7 @@ package android.hardware {
96759675
method public final void addCallbackBuffer(byte[]);
96769676
method public final void autoFocus(android.hardware.Camera.AutoFocusCallback);
96779677
method public final void cancelAutoFocus();
9678+
method public final boolean enableShutterSound(boolean);
96789679
method public static void getCameraInfo(int, android.hardware.Camera.CameraInfo);
96799680
method public static int getNumberOfCameras();
96809681
method public android.hardware.Camera.Parameters getParameters();

core/java/android/hardware/Camera.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,6 @@ public final void takePicture(ShutterCallback shutter, PictureCallback raw,
11661166
* system shutter sound will play when a picture is taken.
11671167
* @see #takePicture
11681168
* @see ShutterCallback
1169-
* @hide
11701169
*/
11711170
public native final boolean enableShutterSound(boolean enabled);
11721171

0 commit comments

Comments
 (0)