[TCSACR-150] Add telephony privilege to use telephony API. (#299)
authortrimbaken <yuva_nilesh@yahoo.com>
Fri, 22 Jun 2018 06:34:34 +0000 (12:04 +0530)
committerhallower <hallower@gmail.com>
Fri, 22 Jun 2018 06:34:34 +0000 (15:34 +0900)
In public attach-panel API attach_panel_add_content_category(), under CAMERA content,
 Camera app should not be launched if video call is active. To check the status of the video call,
 Telephony API (telephony_call_get_type) is called, and telephony privilege is necessary to use telephony API.

src/Tizen.Applications.AttachPanel/Tizen.Applications.AttachPanel/AttachPanel.cs

index 13ccd38..488e8dd 100755 (executable)
@@ -145,6 +145,7 @@ namespace Tizen.Applications.AttachPanel
         /// <param name="extraData">The AttachPanel sends some information using the Bundle.</param>
         /// <privilege>http://tizen.org/privilege/mediastorage</privilege>
         /// <privilege>http://tizen.org/privilege/camera</privilege>
+        /// <privilege>http://tizen.org/privilege/telephony</privilege>
         /// <privilege>http://tizen.org/privilege/recorder</privilege>
         /// <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
         /// <feature>http://tizen.org/feature/camera</feature>
@@ -158,6 +159,7 @@ namespace Tizen.Applications.AttachPanel
         /// Privileges,
         /// http://tizen.org/privilege/mediastorage, for using Image or Camera.
         /// http://tizen.org/privilege/camera, for using Camera or TakePicture.
+        /// http://tizen.org/privilege/telephony, for using Camera, Since(5.0).
         /// http://tizen.org/privilege/recorder, for using Voice.
         /// http://tizen.org/privilege/appmanager.launch, for adding content categories on the More tab.
         /// http://tizen.org/feature/camera, for using Camera or TakePicture.