sanders: Shorten wait time for services exit to optimize shutdown time
Android O sets 3s by default to wait for all services exit which is optional shutdown step. Firstly, in this step there will be time out due to services not terminated in 3s; Second, in next step there will send stop signal to kill all services; Finally, Android N sets ro.build.shutdown_time 0 by default to skip the step. So optimize the wait time to let shutdown time in 3s. Signed-off-by: Nick <nickgunale@gmail.com> Signed-off-by: kubersharma001 <kubersharma001@gmail.com>
This commit is contained in:
@@ -289,4 +289,5 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
|
||||
# Boot
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
sys.vendor.shutdown.waittime=500
|
||||
sys.vendor.shutdown.waittime=500 \
|
||||
ro.build.shutdown_timeout=0
|
||||
|
||||
Reference in New Issue
Block a user