Loading services/camera/libcameraservice/CameraService.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1953,6 +1953,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)", Loading Loading
services/camera/libcameraservice/CameraService.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -1953,6 +1953,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)", Loading