Change Enable() API to Start() in TiltSensor 30/145630/1
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 23 Aug 2017 06:43:38 +0000 (15:43 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 23 Aug 2017 06:46:18 +0000 (15:46 +0900)
Change-Id: I14483d75ffd8bcbb252a64449a69e1abe654eaa7
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
examples/tilt/tilt-example.cpp

index 230704a..783acbe 100644 (file)
@@ -67,7 +67,7 @@ public:
   void CreateSensor()
   {
     mTiltSensor = TiltSensor::Get();
-    if ( mTiltSensor.Enable() )
+    if ( mTiltSensor.Start() )
     {
       // Get notifications when the device is tilted
       mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted );