diff options
author | Jeff Brown <jeffbrown@google.com> | 2015-03-12 19:49:25 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2015-03-12 19:52:46 -0700 |
commit | b2a1985b139b6c8e10fb2cf87bfc4170dd7f2e3c (patch) | |
tree | f70193c19bb566a948b7e7dcfa1af7b9f5b47006 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6fd9f9af2e5301869182f0f4e37858631bb194c2 (diff) |
Avoid rebuilding epoll set when PFD status report is done.
If we close the PFD status channel before returning, then the Looper
will take care of unregistering it correctly but it will end up
doing extra work to rebuild the epoll set to work around a limitation
of the epoll interface. If we unregister the FD first then this
extra work will not be required so it's slightly more efficient
this way.
Bug: 19715279
Change-Id: I0f7b90f3458adf1894b7561c05fa842fdb87b498
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions