[Power] change method to get brightness
authortaekeun.kang <taekeun.kang@samsung.com>
Mon, 24 Aug 2015 06:39:29 +0000 (15:39 +0900)
committertaekeun.kang <taekeun.kang@samsung.com>
Mon, 24 Aug 2015 06:39:29 +0000 (15:39 +0900)
Change-Id: Id701cf3444b89b1f152515c73931ee45bb434698
Signed-off-by: taekeun.kang <taekeun.kang@samsung.com>
src/power/power_platform_proxy.cc

index e8ab75dbb56997f4e9d655b7647f7c6b815ea97c..6d45f17cf1b58cca9d7999bc9f1724ea6fceed27 100755 (executable)
@@ -84,7 +84,7 @@ int PowerPlatformProxy::SetBrightness(int val)
 
 int PowerPlatformProxy::GetBrightness() {
   LoggerD("Entered");
-  return dbus_op_.InvokeSyncGetInt("CurrentBrightness", NULL);
+  return dbus_op_.InvokeSyncGetInt("GetBrightness", NULL);
 }
 
 } // namespace power