summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorKeun-young Park <keunyoung@google.com>2017-07-18 10:58:28 -0700
committerKeun-young Park <keunyoung@google.com>2017-07-19 17:27:05 -0700
commit30173874fce97580dfce99ae8626673fc529af9e (patch)
treed8c1c8d3c9442ff1bec6015e6c5f65374febc2c5 /libcutils/socket_local_server_unix.cpp
parentc13a2da2f4d43ea9f3155dba7fd7911db0ec0c94 (diff)
init: Do full shutdown even for thermal shutdown
- Skipping SIGTERM / SIGKILL / umount brings race between block device driver and fs layer. Do umount before shutting down. - Reduce timeout to 1 sec for thermal shutdown and skip other time taking part like fsck. - Refactor waiting part to check time in ms so that 1 sec can have enough resolution. bug: 63686426 Test: adb shell setprop sys.powerctl thermal-shutdown, adb shell setprop sys.powerctl reboot and check dmesg Change-Id: I048bac767b328c8d656a97fe65dde5f2b5bf4ae5
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions