summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Martijn Coenen <maco@google.com> 2018-10-22 15:18:10 +0200
committer Martijn Coenen <maco@google.com> 2018-10-22 15:28:48 +0200
commit69390d4fc3a6a18e7439d460d52f6f585bf8e1de (patch)
tree1aa9827acf2e05eaaccf712d2707943481989e64 /vulkan/libvulkan/api.cpp
parent81c202f1e74f29caff596448f0363e3661a7aeac (diff)
Don't initialize ProcessState unless we need to.
Initializing ProcessState opens the binder driver; there are cases where we want to be able to create simple Parcel objects (Parcels without binder objects or file descriptors) without initializing the binder driver -- eg the isolated app zygote, which will receive a serialized ApplicationInfo Parcel over a socket, and can't open the binder driver. Delay opening ProcessState until we actually need it. Bug: 111434506 Test: builds, ProcessState not opened for "data" Parcels. Change-Id: I25e2b40c253e5cf3eb8701f76715985d37012947
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions