Remove ARM64 macro 56/103056/1
authorjunkyu han <junkyu.han@samsung.com>
Wed, 7 Dec 2016 06:39:30 +0000 (15:39 +0900)
committerjunkyu han <junkyu.han@samsung.com>
Wed, 7 Dec 2016 06:39:30 +0000 (15:39 +0900)
Change-Id: I85944976a7cf53bb4ae4ad7cdc993edcf70d2f50

src/mobile/home_mgr.c
src/mobile/starter.c

index 9bb02c7..341882e 100644 (file)
@@ -130,21 +130,12 @@ void home_mgr_open_home(const char *appid, const char *key, const char *val)
 {
        char *home_appid = NULL;
 
-#ifndef TIZEN_ARCH_ARM64
        if (!appid) {
                home_appid = status_active_get()->setappl_selected_package_name;
        } else {
                home_appid = (char *) appid;
        }
        ret_if(!home_appid);
-#else
-       /*
-        * If the architecture is 64bit,
-        * starter will launch menu-screen only.
-        */
-       _D("[64bit] menu-screen will be launched.");
-       home_appid = MENU_SCREEN_PKG_NAME;
-#endif
 
        process_mgr_must_launch(home_appid, key, val, _change_home_cb, _after_launch_home);
 }
@@ -445,11 +436,9 @@ static int _power_off_cb(status_active_key_e key, void *data)
 
 static Eina_Bool _launch_apps_idler_cb(void *data)
 {
-#ifndef TIZEN_ARCH_ARM64
        process_mgr_must_syspopup_launch(SYSPOPUPID_VOLUME, NULL, NULL, NULL, _after_launch_volume);
        process_mgr_must_launch(APPID_INDICATOR, NULL, NULL, NULL, _after_launch_indicator);
        process_mgr_must_launch(APPID_QUICKPANEL, NULL, NULL, NULL, _after_launch_quickpanel);
-#endif
 
        return ECORE_CALLBACK_CANCEL;
 }
index 6e225e3..1314af3 100755 (executable)
@@ -131,7 +131,6 @@ static int _set_i18n(const char *domain, const char *dir)
 
 static int _check_dead_signal(int pid, void *data)
 {
-#ifndef TIZEN_ARCH_ARM64
        int home_pid = 0;
        int volume_pid = 0;
        int indicator_pid = 0;
@@ -146,7 +145,6 @@ static int _check_dead_signal(int pid, void *data)
        }
 
        /*
-        * If the architecture is not 64bit,
         * starter try to re-launch these apps when the app is dead.
         */
        home_pid = home_mgr_get_home_pid();
@@ -173,14 +171,6 @@ static int _check_dead_signal(int pid, void *data)
        } else {
                _D("Unknown process, ignore it");
        }
-#else
-       _D("Process %d is termianted", pid);
-
-       if (pid < 0) {
-               _E("pid : %d", pid);
-               return 0;
-       }
-#endif
 
        return 0;
 }