WifiConfigManager: Use creatorUid for internal remove operations
Not sure why were using SystemUi's uid as privileged uid to ensure that
the remove is successful. Switch to using the creatorUid for such removals.
We can also alternatively use Process.SYSTEM_UID,
because that has been explicitly allowed in |canModifyNetwork|.
Bug: 117601161
Test: Manually verified the suggestion CtsVerifier tests are passing
now.
Test: atest com.android.server.wifi
Change-Id: I579c6184fbaa58b97690d9ee53ddaabe85d17f25
1 file changed