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

Commit 8791ac24 authored by Yin-Chia Yeh's avatar Yin-Chia Yeh Committed by android-build-merger
Browse files

Camera: add DISABLE error code

am: c5c84baa

Change-Id: Icdff7f6112dc331ce63c284ecaf7671c4e6cf5b8
parents 4fc2cd7c c5c84baa
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -203,6 +203,15 @@ enum {
     * (except disconnect and sending CAMERA_CMD_PING) after getting this.
     */
    CAMERA_ERROR_RELEASED = 2,

    /**
     * Camera was released because device policy change or the client application
     * is going to background. The client should call Camera::disconnect
     * immediately after getting this notification. Otherwise, the camera will be
     * released by camera service in a short time. The client should not call any
     * method (except disconnect and sending CAMERA_CMD_PING) after getting this.
     */
    CAMERA_ERROR_DISABLED = 3,
    CAMERA_ERROR_SERVER_DIED = 100
};