summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorKeun-young Park <keunyoung@google.com>2017-02-01 12:09:58 -0800
committerKeun-young Park <keunyoung@google.com>2017-02-03 15:36:01 -0800
commit9b73a5473a36534731cc19501408a6123c8e69a8 (patch)
tree82ef46bb2a61a2bd37d6e2be0f9e56fbc61605fa /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent66f66e802e51f5c138a762ca7e3214e3f82d9434 (diff)
wait for sensor service before starting WMS
- Starting sensor service in separate thread led into occasional 1 sec blocking of WMS inside PhoneWindowManager to get sensor service. - Change startSensorService into blocking call and call it from separate thread using SystemServerInitThreadPool. - This does not improve best case boot-up time but fixes occasional 1 sec delay which is happening in 10 to 20% rate. So this is potential 100 to 200ms saving for many runs. bug: 34846045 Test: multiple reboots. Change-Id: Ia08fa3284aed5e576acaac6fbfd74b9db9f7d63c
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions