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

Commit d5b9c6ba authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

CameraDevice: Add missing @Nullable for a handler argument.

Like the other capture session creation methods,
createCaptureSessionByOutputConfigurations() will happily take a null
handler.

Test: Compiles
Change-Id: I702a0761e40207ca5143ad69f5d8694c45f27561
parent 1dddc057
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ public abstract class CameraDevice implements AutoCloseable {
     */
    public abstract void createCaptureSessionByOutputConfigurations(
            List<OutputConfiguration> outputConfigurations,
            CameraCaptureSession.StateCallback callback, Handler handler)
            CameraCaptureSession.StateCallback callback, @Nullable Handler handler)
            throws CameraAccessException;
    /**
     * Create a new reprocessable camera capture session by providing the desired reprocessing