libbinder: warn when vndbinder use is wasted
We can't return null, because there may be other calls
in the process to ProcessState, but if vndservicemanager
is not installed, we can save a few threads.
Note: due to logs being broken (b/210919187) early in boot,
you may not be able to see logs for this.
Bug: 264617136
Test: check logs, e.g.
02-14 01:31:57.034 3273 3273 E ProcessState: vndservicemanager is not started on this device, you can save resources/threads by not initializing ProcessState with /dev/vndbinder.
Change-Id: Ie91dc4ee302e7a36184e533fb755ce0870e2f546
2 files changed