Add comments for DEVICE_NOTIFIER_POWEROFF 06/246206/2
authorlokilee73 <changjoo.lee@samsung.com>
Tue, 27 Oct 2020 02:29:56 +0000 (11:29 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Tue, 27 Oct 2020 02:48:24 +0000 (11:48 +0900)
Change-Id: If4f2dbcbc66a6579612016b16207339bfe14a37b
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
src/power/power-handler.c

index 342868e..8b6684f 100644 (file)
@@ -251,6 +251,19 @@ void poweroff_prepare(void)
 
        disable_display();
 
+       /* Below functions follow after notifying DEVICE_NOTIFIER_POWEROFF
+          1. pmlock
+          - pmlock_detector_poweroff_cb()
+          - cleanup_pmlock_statistics()
+          - do_copy_force()
+          - save_display_log()
+          2. tzip
+          - tzip_poweroff()
+          - tzip_server_exit()
+          3. udev
+          - device_change_poweroff()
+          - uevent_control_stop()
+       */
        device_notify(DEVICE_NOTIFIER_POWEROFF, &off);
 }