summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Mark Salyzyn <salyzyn@google.com> 2016-01-27 08:02:48 -0800
committer Alain Vongsouvanh <alainv@google.com> 2016-01-28 17:23:59 -0800
commit393aa435964aa24413235a34dda686bd0f693e45 (patch)
treea864a23e9c0272ce455192f5b9eecffebab313b5 /libs/gui/ConsumerBase.cpp
parent9cc62e8713aa3c53127e676ec084f1c01dcd769a (diff)
system_server BINDER_TYPE_FD sockets using ashmem accessors
check if device is a character device, before calling ashmem_get_size_region. We do not check if the st_rdev matches /dev/ashmem. So this at least eliminates making this call when associated with a socket. Bug: 26374183 Change-Id: I68ed9d1c2cd4c47228ed065e3e18eb4151f038f4 (cherry picked from AOSP commit eab2afc7ac5183750a23693ecee89dad7f7abf5f)
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions