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

Commit 4aeff654 authored by Mark Harman's avatar Mark Harman
Browse files

Add comment for testSwitchCameraRepeat2().

parent 3b289ca8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7825,6 +7825,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
	/* Tests repeatedly switching camera, waiting for camera to reopen each time.
	 * Guards agains a bug fixed in 1.44 where we would crash due to memory leak in
	 * OrientationEventListener.enable() (from Preview.cameraOpened()) when called too many times.
	 * Note, takes a while (over 1m) to run, test may look like it's hung whilst running!
	 */
	public void testSwitchCameraRepeat2() throws InterruptedException {
		Log.d(TAG, "testSwitchCameraRepeat2");