Change-Id: I14483d75ffd8bcbb252a64449a69e1abe654eaa7
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
void CreateSensor()
{
mTiltSensor = TiltSensor::Get();
void CreateSensor()
{
mTiltSensor = TiltSensor::Get();
- if ( mTiltSensor.Enable() )
+ if ( mTiltSensor.Start() )
{
// Get notifications when the device is tilted
mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted );
{
// Get notifications when the device is tilted
mTiltSensor.TiltedSignal().Connect( this, &TiltController::OnTilted );