projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31f0b05
)
Remove priviledge check for powermanager.
author
Hokwon Song
<hokwon.song@samsung.com>
Tue, 24 Sep 2013 01:42:53 +0000
(10:42 +0900)
committer
Hokwon Song
<hokwon.song@samsung.com>
Tue, 24 Sep 2013 01:44:29 +0000
(10:44 +0900)
Change-Id: I06bed58ebf4d8addb53f0a6bd6f004873a0c2bfd
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
src/system/FSysPowerManager.cpp
patch
|
blob
|
history
diff --git
a/src/system/FSysPowerManager.cpp
b/src/system/FSysPowerManager.cpp
index
94afb4b
..
7123366
100644
(file)
--- a/
src/system/FSysPowerManager.cpp
+++ b/
src/system/FSysPowerManager.cpp
@@
-121,10
+121,6
@@
PowerManager::GetScreenBrightness(void)
bool
PowerManager::IsScreenOn(void)
{
- result r = E_SUCCESS;
- r = _AccessController::CheckUserPrivilege(_PRV_POWER);
- SysTryReturn(NID_SYS, r == E_SUCCESS, E_PRIVILEGE_DENIED, E_PRIVILEGE_DENIED, ("[E_PRIVILEGE_DENIED] The application does not have the privilege to call this method."));
-
return _PowerManagerImpl::IsScreenOn();
}