Fix privilege name for debug mode check 71/151371/1
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Wed, 20 Sep 2017 08:47:14 +0000 (11:47 +0300)
committerVyacheslav Cherkashin <v.cherkashin@samsung.com>
Wed, 20 Sep 2017 14:30:21 +0000 (17:30 +0300)
Change-Id: Ifd19564bb1a9313f6db47ee8ec7582201369aef4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
src/utils/security/privilege.cpp

index a1ea1a4..8df052d 100644 (file)
@@ -90,7 +90,7 @@ bool is_debug_mode(const std::string &appid)
     PrivilegeList list;
     fill_privilege_list(pkgid, list);
 
-    const char debug_privilege[] = "http://tizen.org/privilege/screenshot";
+    const char debug_privilege[] = "http://tizen.org/privilege/internal/appdebugging";
     auto it = std::find(list.begin(), list.end(), debug_privilege);
 
     return it != list.end();