Change Enable() API to Start() in TiltSensor
[platform/core/uifw/dali-demo.git] / 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 );