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

Commit 324db1b0 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 7786608 from 537607f1 to sc-v2-release

Change-Id: Ie4b267b80f53e280dd6e003d0c9d55c331e9040c
parents 7aa2d40b 537607f1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2054,6 +2054,11 @@ Status CameraService::setTorchMode(const String16& cameraId, bool enabled,
                    id.string());
                errorCode = ERROR_ILLEGAL_ARGUMENT;
                break;
            case -EBUSY:
                msg = String8::format("Camera \"%s\" is in use",
                    id.string());
                errorCode = ERROR_CAMERA_IN_USE;
                break;
            default:
                msg = String8::format(
                    "Setting torch mode of camera \"%s\" to %d failed: %s (%d)",