Skip to content

Commit af87681

Browse files
author
Eino-Ville Talvala
committed
NEW_API: Unhide android.hardware.Camera#enableShutterSound
Change-Id: I8e7ef3e035dd261be51874f514d6be2fb8933e96
1 parent 69fe527 commit af87681

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
@@ -9658,6 +9658,7 @@ package android.hardware {
96589658
method public final void addCallbackBuffer(byte[]);
96599659
method public final void autoFocus(android.hardware.Camera.AutoFocusCallback);
96609660
method public final void cancelAutoFocus();
9661+
method public final boolean enableShutterSound(boolean);
96619662
method public static void getCameraInfo(int, android.hardware.Camera.CameraInfo);
96629663
method public static int getNumberOfCameras();
96639664
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)