Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22589b47 authored by Zhijun He's avatar Zhijun He
Browse files

Camera2: replace AssertionError with error log

Bug: 14448494
Change-Id: I8962cea14324c5c2faa580d009c58db2d35219ae
parent 7bdcc0b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -640,7 +640,7 @@ public class CameraDevice implements android.hardware.camera2.CameraDevice {
                 * should have arrived. The following line checks whether this holds.
                 */
                if (frameNumber != mCompletedFrameNumber + 1) {
                    throw new AssertionError(String.format(
                    Log.e(TAG, String.format(
                            "result frame number %d comes out of order, should be %d + 1",
                            frameNumber, mCompletedFrameNumber));
                }