commit | b1d5f322dd99496fe5ab4ef240f9220bbcc92634 | [log] [tgz] |
---|---|---|
author | Hansen Kurli <hkurli@google.com> | Mon May 22 11:06:07 2023 +0000 |
committer | Hansen Kurli <hkurli@google.com> | Tue Jun 13 06:18:55 2023 +0000 |
tree | 90f0404edc70c1bbb354024cfe2ed56b01020438 | |
parent | 3155fcbfa2e005e78f01b3db1f9b9166e64b848b [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. Bug: 281646074 Bug: 283885097 Test: NetworkStaticLibTests (cherry picked from https://android-review.googlesource.com/q/commit:e51b449da4dfb751652be93b5a88b424e682e9cb) Merged-In: Ic1b86f9f764997ce5d6848f04185194a961d1106 Change-Id: Ic1b86f9f764997ce5d6848f04185194a961d1106