Skip to content

Commit e9c6c9c

Browse files
author
Wu-cheng Li
committed
Fix startFaceDetection will fail after taking a picture.
bug:6568961 Change-Id: I353c24496ec00805ed46ba90457729dfb5b2c337
1 parent c3a5cf9 commit e9c6c9c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/java/android/hardware/Camera.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,6 +1059,7 @@ public final void takePicture(ShutterCallback shutter, PictureCallback raw,
10591059
}
10601060

10611061
native_takePicture(msgType);
1062+
mFaceDetectionRunning = false;
10621063
}
10631064

10641065
/**

0 commit comments

Comments
 (0)