commit | c5f5ee57fb6a65d16c82b3c0b9261ac3576ee6ae | [log] [tgz] |
---|---|---|
author | Fabián Kozynski <[email protected]> | Wed Jul 12 12:36:07 2023 -0400 |
committer | Fabián Kozynski <[email protected]> | Thu Jul 13 12:48:28 2023 -0400 |
tree | 4b2331f7df9c323ce0f5a175f8e403527f574b9c | |
parent | 1ad38e26cc344397f1791d8e8781e1256fa53ed5 [diff] |
Add non-blocking message processing TestableLooper.processMessages will block if the argument is less than the number of available messages. This adds a new method that will process the minimum of the argument or available messages and return the number of messages processed. Test: atest TestableLooperTest Bug: 289042855 Change-Id: Ied9a3769a0ed2ed7723190853f9091721539df08