diff options
| author | 2021-11-18 23:10:56 +0000 | |
|---|---|---|
| committer | 2021-11-18 23:12:11 +0000 | |
| commit | f7dc94f6fd014708f7bac1fae2546df123a0111f (patch) | |
| tree | eca9c029fbeda6afef402f5565ed5046b9f504cd /libs/gui/DisplayEventReceiver.cpp | |
| parent | 7926d52f250189c7a4117051fa856ffb033b3048 (diff) | |
libbinder_ndk: nice dup operator
Common operations for ScopedFileDescriptor. Not clear to need to do
ScopedFileDescriptor(::dup(foo.get())) b/c 'get' method is inherited
here, and justifying duplicated API surface because this method does the
right thing wrt ownership.
Bug: email thread
Test: CtsNdkBinderTestCases
Change-Id: I60a281a1e2ddb42bc0768a0114a5e9e7b22aaed2
Diffstat (limited to 'libs/gui/DisplayEventReceiver.cpp')
0 files changed, 0 insertions, 0 deletions