From: dongsug.song Date: Tue, 15 Nov 2016 00:33:12 +0000 (+0900) Subject: Revert "[3.0] Set current time to default WatchTime constructor" X-Git-Tag: accepted/tizen/common/20161115.200910~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4f05a9b02bd1166d74c4681ae0e9f499b882624;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git Revert "[3.0] Set current time to default WatchTime constructor" This reverts commit 5f95a0d55b668bb135114b8e8f70407491cf33e8. Change-Id: I611bc246b25fa9e83396a92cbdb38c98cd219583 --- diff --git a/adaptors/wearable/watch/watch-time.cpp b/adaptors/wearable/watch/watch-time.cpp index 6c60b54..34c4089 100644 --- a/adaptors/wearable/watch/watch-time.cpp +++ b/adaptors/wearable/watch/watch-time.cpp @@ -36,6 +36,11 @@ struct WatchTime::Impl void *mTimeHandle; }; +WatchTime::WatchTime() + :mImpl(NULL) +{ +} + WatchTime::WatchTime(void *time_handle) { mImpl = new Impl(time_handle); @@ -52,14 +57,6 @@ WatchTime::~WatchTime() #ifdef APPCORE_WATCH_AVAILABLE -WatchTime::WatchTime() -{ - watch_time_h watch_time = {0,}; - - watch_time_get_current_time(&watch_time); - mImpl = new Impl(watch_time); -} - int WatchTime::GetHour() const { int hour; @@ -93,10 +90,6 @@ int WatchTime::GetSecond() const } #else -WatchTime::WatchTime() - :mImpl(NULL) -{ -} int WatchTime::GetHour() const {