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

Commit 2babee66 authored by Yu Shan Emily Lau's avatar Yu Shan Emily Lau Committed by Android (Google) Code Review
Browse files

Merge "Inserted a 1.5s wait time between the camera release and new camrea."

parents 8ad6465c 1cffa446
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -212,8 +212,13 @@ public class MediaPlayerPerformance extends ActivityInstrumentationTestCase<Medi
    }

    private void terminateMessageLooper() {
        try {
            mLooper.quit();
            mCamera.release();
            Thread.sleep(1500);
        } catch (Exception e) {
            Log.v(TAG, e.toString());
        }
    }

    private final class RawPreviewCallback implements PreviewCallback {