sample for Android Settings Panels
Up to Android 9, it was troublesome to start the pre-installed setting application such as Wi-Fi setting, but from Android 10 it became possible to open the setting panel on the application and set some functions.
link1
link2
link3
From Android 10, by WifiManager#setWifiEnabled Since Wi-FI setting is prohibited, use the setting panel as an alternative process. link4