From: Seoyeon Kim Date: Thu, 18 Jan 2018 01:22:36 +0000 (+0900) Subject: Initialize WatchApplication mState X-Git-Tag: dali_1.3.10~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df8ef95d883c7769bfae04e4e8335b3962d206d2;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Initialize WatchApplication mState - Initialized mState in WatchApplication Constructor. Change-Id: I860c15dd84d755b0fc22369a3096492f581298f4 Signed-off-by: Seoyeon Kim --- diff --git a/dali/internal/adaptor/tizen-wearable/watch-application-impl.cpp b/dali/internal/adaptor/tizen-wearable/watch-application-impl.cpp index 47cd9e9..468ec98 100644 --- a/dali/internal/adaptor/tizen-wearable/watch-application-impl.cpp +++ b/dali/internal/adaptor/tizen-wearable/watch-application-impl.cpp @@ -38,7 +38,8 @@ WatchApplicationPtr WatchApplication::New( } WatchApplication::WatchApplication( int* argc, char** argv[], const std::string& stylesheet, Dali::Application::WINDOW_MODE windowMode ) -: Application(argc, argv, stylesheet, windowMode, PositionSize(), Framework::WATCH) +: Application(argc, argv, stylesheet, windowMode, PositionSize(), Framework::WATCH), + mState( UNINITIALIZED ) { } diff --git a/dali/internal/adaptor/tizen-wearable/watch-application-impl.h b/dali/internal/adaptor/tizen-wearable/watch-application-impl.h index d50801e..5757bf7 100644 --- a/dali/internal/adaptor/tizen-wearable/watch-application-impl.h +++ b/dali/internal/adaptor/tizen-wearable/watch-application-impl.h @@ -37,6 +37,7 @@ typedef IntrusivePtr WatchApplicationPtr; enum WatchApplicationState { + UNINITIALIZED, INITIALIZED, PAUSED, RESUMED = INITIALIZED,