From: Seoyeon Kim Date: Wed, 23 Aug 2017 06:43:38 +0000 (+0900) Subject: Change Enable() API to Start() in TiltSensor X-Git-Tag: dali_1.2.56~1^2 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-demo.git;a=commitdiff_plain;h=refs%2Fchanges%2F30%2F145630%2F1 Change Enable() API to Start() in TiltSensor Change-Id: I14483d75ffd8bcbb252a64449a69e1abe654eaa7 Signed-off-by: Seoyeon Kim --- diff --git a/examples/tilt/tilt-example.cpp b/examples/tilt/tilt-example.cpp index 230704a..783acbe 100644 --- a/examples/tilt/tilt-example.cpp +++ b/examples/tilt/tilt-example.cpp @@ -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 );