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
tree: 7dd66801f022606ea345ce419d9f401c1c022ff2
  1. service/
  2. PREUPLOAD.cfg