commit | 0cd46d480d57c003e112d58131548c41de4ef191 | [log] [tgz] |
---|---|---|
author | Hansen Kurli <hkurli@google.com> | Mon May 22 11:06:07 2023 +0000 |
committer | Hansen Kurli <hkurli@google.com> | Tue May 23 06:17:52 2023 +0000 |
tree | 5e19c6a8052b6981bf6cb3dde231be1ff720b90c | |
parent | 5b9c8cbeffd1253ecdf51b2f2be878063c6c8b81 [diff] |
Use ThrowingSupplier for visibleOnHandlerThread. In order to return values from functions that are run on the handler thread, use a ThrowingSupplier instead of a ThrowingRunnable. Also maintain the case with ThrowingRunnable by overloading. Test: NetworkStaticLibTests Change-Id: Ic1b86f9f764997ce5d6848f04185194a961d1106