Skip to content
Commit 7b1d3100 authored by junyulai's avatar junyulai Committed by Junyu Lai
Browse files

Fix test breakage caused by adding new capability by default

Currently, SecurityControllerImpl listen to all network changes.
However, the default capabilities are removed one by one manually.
This might be problematic when a new default capability is
introduced. Thus, calling clearCapabilities instead.

Test: atest SystemUITests:com.android.systemui.statusbar.policy.SecurityControllerTest#testNetworkRequest
Test: atest FrameworksNetTests NetworkStackTests TetheringTests SystemUITests
Test: atest CtsNetTestCases
Bug: 177411288
Bug: 175662146
Change-Id: Ic5741bc4125369c4a0a03a455447e44058a93aac
parent 4d20410b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment