summaryrefslogtreecommitdiffstats
path: root/libs/utils
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-09-16 18:28:12 -0700
committerAlex Ray <aray@google.com>2013-07-30 13:56:54 -0700
commit905682a19609e862633f01e69bec58384df2cdf7 (patch)
tree49898682f835ca174f67b7722a50a04cbf014a49 /libs/utils
parent171bf9e69792f4796e27334c8a97dbd8576ad78a (diff)
downloadsystem_core-905682a19609e862633f01e69bec58384df2cdf7.zip
system_core-905682a19609e862633f01e69bec58384df2cdf7.tar.gz
system_core-905682a19609e862633f01e69bec58384df2cdf7.tar.bz2
Looper: Drop default parameters in favor of a safer overload.
The idea is that if you're writing code that wants fd/events/data on return from pollOnce() / pollAll() you should really pass in all of those arguments. When I changed the Looper API earlier, it was difficult to ensure that all callers were passing the right parameters since they were relying on default parameters to some degree so usage mistakes would not have been caught by the compiler. Change-Id: I1f2812894270aaf1515017ac1616b6b312d9b565
Diffstat (limited to 'libs/utils')
0 files changed, 0 insertions, 0 deletions