projects
/
platform
/
core
/
multimedia
/
mmsvc-recorder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add additional error convert code.
[platform/core/multimedia/mmsvc-recorder.git]
/
legacy
/
src
/
legacy_recorder.c
diff --git
a/legacy/src/legacy_recorder.c
b/legacy/src/legacy_recorder.c
index
fbd90a9
..
cc5f96a
100644
(file)
--- a/
legacy/src/legacy_recorder.c
+++ b/
legacy/src/legacy_recorder.c
@@
-70,6
+70,9
@@
static int __convert_error_code_camera_to_recorder(int code)
case CAMERA_ERROR_SECURITY_RESTRICTED:
new_code = RECORDER_ERROR_SECURITY_RESTRICTED;
break;
+ case CAMERA_ERROR_RESOURCE_CONFLICT:
+ new_code = RECORDER_ERROR_RESOURCE_CONFLICT;
+ break;
default:
break;
}