Change enum values of hw acceleration 03/69803/2 accepted/tizen/common/20160520.170918 accepted/tizen/ivi/20160520.002321 accepted/tizen/mobile/20160520.002332 accepted/tizen/tv/20160520.002253 accepted/tizen/wearable/20160520.002309 ref/tags/submit/tizen/20160517.005404 submit/tizen/20160517.005404 submit/tizen/20160519.045032
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 17 May 2016 01:35:00 +0000 (10:35 +0900)
committerjongmyeong ko <jongmyeong.ko@samsung.com>
Tue, 17 May 2016 02:50:44 +0000 (19:50 -0700)
changes related with pkgmgr-info
https://review.tizen.org/gerrit/#/c/69595/

Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Change-Id: I8a7db8cfa6f02cde0a4014db1812c653a6ebcc1f

tool/app_launcher.c
tool/launch_debug.c

index c21d3ec..2a4c469 100644 (file)
@@ -225,7 +225,7 @@ static int __set_appinfo_for_launchpad(bundle *kb, const char *appid)
        char *apptype;
        char *pkgtype;
        char *component_type;
-       pkgmgrinfo_app_hwacceleration hwacc = PMINFO_HWACCELERATION_NOT_USE_GL;
+       pkgmgrinfo_app_hwacceleration hwacc = PMINFO_HWACCELERATION_OFF;
        const char *hwacc_str = "NOT_USE";
        bool process_pool = false;
 
@@ -271,9 +271,9 @@ static int __set_appinfo_for_launchpad(bundle *kb, const char *appid)
                goto end;
 
        if (__get_gles()) {
-               if (hwacc == PMINFO_HWACCELERATION_NOT_USE_GL)
+               if (hwacc == PMINFO_HWACCELERATION_OFF)
                        hwacc_str = "NOT_USE";
-               else if (hwacc == PMINFO_HWACCELERATION_USE_GL)
+               else if (hwacc == PMINFO_HWACCELERATION_ON)
                        hwacc_str = "USE";
                else
                        hwacc_str = "SYS";
index 7dd91ae..001064b 100644 (file)
@@ -130,7 +130,7 @@ static int __set_appinfo_for_debug_launchpad(bundle *kb, const char *appid)
        char *apptype;
        char *pkgtype;
        char *component_type;
-       pkgmgrinfo_app_hwacceleration hwacc = PMINFO_HWACCELERATION_NOT_USE_GL;
+       pkgmgrinfo_app_hwacceleration hwacc = PMINFO_HWACCELERATION_OFF;
        const char *hwacc_str = "NOT_USE";
        bool process_pool = false;
 
@@ -170,9 +170,9 @@ static int __set_appinfo_for_debug_launchpad(bundle *kb, const char *appid)
                goto end;
 
        if (__get_gles()) {
-               if (hwacc == PMINFO_HWACCELERATION_NOT_USE_GL)
+               if (hwacc == PMINFO_HWACCELERATION_OFF)
                        hwacc_str = "NOT_USE";
-               else if (hwacc == PMINFO_HWACCELERATION_USE_GL)
+               else if (hwacc == PMINFO_HWACCELERATION_ON)
                        hwacc_str = "USE";
                else
                        hwacc_str = "SYS";