FactoryReset call WifiConfigManager#remove directly

The current code is performing permission checks in the wifi thread and
is causing exceptions due to losing binder context on the original
caller. Should just call WifiConfigManager directly.

Bug: 267404504
Test: atest com.android.server.wifi
Test: manually verified with shell command
Merged-In: Ibdddd8f8fe8651a730a3dca8e00cb5f657c13b6c
Change-Id: Ibdddd8f8fe8651a730a3dca8e00cb5f657c13b6c
1 file changed