Skip to content

Commit 14720a1

Browse files
committed
removed camera start from onCreate
Removed camera start from onCreate, because it was redundant. The call to start the camera is also in onResume, which is immediately called after onCreate. Change-Id: I5b612c8ec6e58e615763558852d3b39190b1dd00
1 parent 6b45abf commit 14720a1

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

face/FaceTracker/app/src/main/java/com/google/android/gms/samples/vision/face/facetracker/FaceTrackerActivity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ public void onCreate(Bundle icicle) {
7878
.setFacing(CameraSource.CAMERA_FACING_BACK)
7979
.setRequestedFps(30.0f)
8080
.build();
81-
startCameraSource();
8281
}
8382

8483
/**

face/multi-tracker/app/src/main/java/com/google/android/gms/samples/vision/face/multitracker/MultiTrackerActivity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ public void onCreate(Bundle icicle) {
102102
.setFacing(CameraSource.CAMERA_FACING_BACK)
103103
.setRequestedFps(15.0f)
104104
.build();
105-
startCameraSource();
106105
}
107106

108107
/**

0 commit comments

Comments
 (0)