* In Android 8.1 and later, only the ro.zygote.disable_gl_preload
property still applies. All other properties have been removed.
Reference: source.android.com/devices/graphics/renderer
Change-Id: I45ed04a5590ef12c5c68cdfa3ee41b1decd821ff
Signed-off-by: Rajat Gupta <rjtgupta84@gmail.com>
Since we hit GL comp quite frequently during app transitions, we
need to enable early phase offsets to give it enough time for
composition.
Test: Open app, make sure vsync-offsets shift
Bug: 75985430
Change-Id: I2f85bf72a4b135dce664f7274848f3956a9aaf7a
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>
Mountservice will check if there exist processes occupy files. Launch
many 3rd apps and set in background will cause many processes occupy
files, which will cause mountservice spend 10~20s to unmount(sometimes
also unmount fail with 20s time out). If there is no process occupy
files, mountservice only need about 500ms. So shorten wait time from
20s to 500ms, which will save 10~20s for shutdown time, total shutdown
time is in 3s.
Signed-off-by: Nick <nickgunale@gmail.com>