- If cgroup is unmounted, apps cannot be launched.
Thus shutdown animation needs to be launched
before cgroup is unmounted.
Change-Id: I3b7ab800010f824440313dccd6fe8dc36b1122c7
Signed-off-by: taeyoung <ty317.kim@samsung.com>
if (!opt)
return -EINVAL;
- poweroff_start_animation();
disable_display();
sync();
pm_lock_internal(INTERNAL_LOCK_POWEROFF, LCD_OFF, STAY_CUR_STATE, 0);
+ poweroff_start_animation();
+
stop_systemd_service();
/* Need to notify to deviced-vibrator.