Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 69390d4f authored by Martijn Coenen's avatar Martijn Coenen
Browse files

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
parent 81c202f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment