From: junkyu Han Date: Wed, 2 Dec 2015 09:57:49 +0000 (+0900) Subject: Add privilege for feedback X-Git-Tag: accepted/tizen/mobile/20151207.124208^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F53331%2F2;p=apps%2Fnative%2Fvolume-app.git Add privilege for feedback Change-Id: I71970da88dc925ea4e0c6e55332d4adb65028e45 --- diff --git a/org.tizen.volume.xml b/org.tizen.volume.xml index dc83005..d04cce5 100755 --- a/org.tizen.volume.xml +++ b/org.tizen.volume.xml @@ -7,4 +7,8 @@ org.tizen.volume.png + + http://tizen.org/privilege/haptic + + diff --git a/packaging/org.tizen.volume.spec b/packaging/org.tizen.volume.spec index 6798c11..6598ea5 100755 --- a/packaging/org.tizen.volume.spec +++ b/packaging/org.tizen.volume.spec @@ -10,7 +10,7 @@ ExcludeArch: %{arm} %ix86 x86_64 Name: org.tizen.volume Summary: Volume application (EFL) -Version: 0.1.148 +Version: 0.1.149 Release: 1 Group: Applications/Core Applications License: Apache-2.0 diff --git a/src/view.c b/src/view.c index 741125a..43af8b5 100755 --- a/src/view.c +++ b/src/view.c @@ -437,7 +437,6 @@ static Eina_Bool _key_grab_cb(void *data) _D("Result of volume up keygrab set : %d", ret); ret = elm_win_keygrab_set(win, KEY_VOLUMEDOWN, 0, 0, 0, ELM_WIN_KEYGRAB_SHARED); _D("Result of volume down keygrab set : %d", ret); - elm_win_iconified_set(win, EINA_TRUE); return EINA_FALSE; } @@ -451,6 +450,8 @@ Evas_Object *volume_view_window_create(void) view_info.win = win; _D("view_info.win is [%p]", view_info.win); + elm_win_iconified_set(win, EINA_TRUE); + ecore_timer_add(1.0f, _key_grab_cb, win); evas_object_show(win);