summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/ProguardRules_test.cpp
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2020-01-10 13:39:42 +0900
committerLorenzo Colitti <lorenzo@google.com>2020-01-11 20:06:20 +0900
commitb6b9fa6effe4b33cb048b14838b76a42c1926d7e (patch)
treefcf89663805bab0294eed30a4394f83d16a3d9c2 /tools/aapt2/java/ProguardRules_test.cpp
parentf486b23982b9eb2fb8e6b3cfbfa1ef1f7c85ca14 (diff)
Delete the NetworkFactory running-on-correct-thread assertion.
The change to make NetworkFactory use NetworkProvider included an assertion that the onNetworkRequested and onRequestWithdrawn methods were called on the factory's Looper. This is not really necessary since it cannot happen in the current code unless there is a bug in Looper. It also makes it impossible to test this code using TestLooper, which dispatches messages on the test thread instead of on the looper thread. So, delete the check. Bug: 138306002 Test: atest FrameworksWifiTests now passes Change-Id: I37449efb50287c683312f0b19909bd4c61b38585 Merged-In: I37449efb50287c683312f0b19909bd4c61b38585
Diffstat (limited to 'tools/aapt2/java/ProguardRules_test.cpp')
0 files changed, 0 insertions, 0 deletions