commit | 1b71e3867345d6e1a3bc7c38a582ba9e9f9aee3d | [log] [tgz] |
---|---|---|
author | Hansen Kurli <hkurli@google.com> | Mon May 08 12:56:48 2023 +0000 |
committer | Hansen Kurli <hkurli@google.com> | Thu Jun 01 06:58:18 2023 +0000 |
tree | 315617846b7aeba010d02f7a2b9738df91d9db75 | |
parent | 0d179a3ff08204f64b0e20c810b396bd902e0ad9 [diff] |
Ensure public methods are running on handler thread Store the handler that should be running all the public methods and use it by comparing its thread with the current thread. Also refactor the tests to use and run on a test handler thread. Bug: 273451360 Test: atest FrameworksNetTests Change-Id: I053f1043a3b518728c4b30b94eec1d33fbfe39c0