Add privilege for feedback 31/53331/2 accepted/tizen/mobile/20151207.124208 submit/mobile/20151204.052334 submit/mobile/20151207.102120 submit/tizen_mobile/20151207.101442
authorjunkyu Han <junkyu.han@samsung.com>
Wed, 2 Dec 2015 09:57:49 +0000 (18:57 +0900)
committerjunkyu Han <junkyu.han@samsung.com>
Fri, 4 Dec 2015 05:10:26 +0000 (14:10 +0900)
Change-Id: I71970da88dc925ea4e0c6e55332d4adb65028e45

org.tizen.volume.xml
packaging/org.tizen.volume.spec
src/view.c

index dc83005..d04cce5 100755 (executable)
@@ -7,4 +7,8 @@
                <icon>org.tizen.volume.png</icon>
                <label>Volume</label>
        </ui-application>
+       <privileges>
+               <privilege>http://tizen.org/privilege/haptic</privilege>
+       </privileges>
+
 </manifest>
index 6798c11..6598ea5 100755 (executable)
@@ -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
index 741125a..43af8b5 100755 (executable)
@@ -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);