diff options
author | Jooseok Song <seogii.song@samsung.com> | 2017-02-02 19:34:17 +0900 |
---|---|---|
committer | Jooseok Song <seogii.song@samsung.com> | 2017-02-02 19:39:14 +0900 |
commit | d8d63def6b121bf11e33c6eeab48644eb38b1a39 (patch) | |
tree | 9fddf607b430648a9a7630d7da40d84353c3c186 | |
parent | deef75cbb3af5127cf7fd57fe75fd5d43bad3394 (diff) | |
download | my-account-d8d63def6b121bf11e33c6eeab48644eb38b1a39.tar.gz my-account-d8d63def6b121bf11e33c6eeab48644eb38b1a39.tar.bz2 my-account-d8d63def6b121bf11e33c6eeab48644eb38b1a39.zip |
Change timing for drawing main UIsubmit/tizen_unified/20170309.100419submit/tizen_unified/20170308.100420submit/tizen/20170206.005621accepted/tizen/wearable/20170206.222703accepted/tizen/unified/20170309.075038
Change-Id: Iced38adb0787e6f7cdc7eaad2218162f0d97e3d8
-rw-r--r-- | packaging/my-account.spec | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | src/my-account-main.c | 11 |
2 files changed, 10 insertions, 3 deletions
diff --git a/packaging/my-account.spec b/packaging/my-account.spec index 86cddbd..cda6ab9 100644 --- a/packaging/my-account.spec +++ b/packaging/my-account.spec @@ -2,7 +2,7 @@ Name: my-account-profile_wearable Summary: My account application -Version: 0.0.4 +Version: 0.0.5 Release: 0 Provides: my-account = %{version}-%{release} Group: main/devel diff --git a/src/my-account-main.c b/src/my-account-main.c index 4a8cc14..67dd9f8 100755..100644 --- a/src/my-account-main.c +++ b/src/my-account-main.c @@ -117,6 +117,9 @@ bool _myaccount_main_app_create(void *user_data) return false; } + _myaccount_view_main_create(ad); + elm_win_activate(ad->main_win); + MA_DEBUG("_myaccount_main_app_create end"); return true; @@ -156,8 +159,12 @@ void _myaccount_main_app_service(app_control_h service, void *user_data) ret_if(ad == NULL); - _myaccount_view_main_create(ad); - elm_win_activate(ad->main_win); + int account_cnt = _myaccount_get_accounts_total_count(); + if (account_cnt != previous_cnt) { + MA_DEBUG("account_cnt is changed from [%d]", previous_cnt); + _myaccount_view_main_create(ad); + elm_win_activate(ad->main_win); + } MA_DEBUG("_myaccount_main_app_service end"); } |