diff options
author | 2018-07-06 13:02:53 -0700 | |
---|---|---|
committer | 2018-07-06 13:05:04 -0700 | |
commit | 2ae2f5e725d10e18f668eadf039480022f4a3b32 (patch) | |
tree | 8abeb87fb6d120df15bd65f679689c68a93f914d /libs/binder/BufferedTextOutput.cpp | |
parent | 7e3e5b6868dbf6a471bf6b8b7bd3f28ab8ff0bba (diff) |
libbinder: auto-choose between binder/vndbinder.
Right now, a huge amount of client code has to manually
specify initWithDriver("/dev/vndbinder"). This is kind
of silly because every vendor process is not allowed to
talk to /dev/binder, and system processes are not allowed
to talk to /dev/vndbinder. On legacy devices,
__ANDROID_VNDK__ will not be set, so they will continue
to talk to /dev/binder.
Bug: 62956284
Test: boot Pixel 2, check for errors
Change-Id: Ic0d9da6d9b451aa8b1e62f24487d19478bff3d97
Diffstat (limited to 'libs/binder/BufferedTextOutput.cpp')
0 files changed, 0 insertions, 0 deletions