summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorRicky Wai <rickywai@google.com>2021-02-24 16:02:22 +0000
committerRicky Wai <rickywai@google.com>2021-03-11 10:19:22 +0000
commit7d3246a195171989836859f298ac38a9e3092925 (patch)
tree5edd73d35db1f24f82e5812a09f299eede967882 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentddb41ad5d53e4b86b7e78db64f737c22bd6a675f (diff)
Check and create data and obb dirs after starting zygote process.
When data or obb is not cached, it may slow down app starting speed as we wait the directory is paged before starting zygote. To improve this, we postpone the dir check after starting zygote process in ProcessList, so the directory paging and creation can be done in background without blocking app starting. As it's possible that dir is not created when zygote needs it, we also a busy waiting check in zygote to ensure data and obb dirs are created before we do our work. Bug: 177248242 Test: Able to boot device and start app after enabling app storage data isolation flag. Change-Id: I892b7a1a4f8c38331546f9129b8fb43333093aec Merged-In: I892b7a1a4f8c38331546f9129b8fb43333093aec (cherry picked from commit ff269b9e8f03a5e0698f2e3569b6c45ca4447136)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions