How is it possible to trigger a connectivity setting dialog on Android like what’s shown in the picture below?
I suspect it’s an Intent fired and not a custom API by One UI.
android.providers.Settings class has some predefined Actions to open some settings pages but couldn’t quite figure out which one to use to achieve this functionality.
Connect the phone to your PC. Do whatever you do to get this dialog to appear. Use the following command:
adb shell dumpsys activity activities
This will show you all running tasks. You should be able to find the task with the settings
Activity and you should be able to see the
Intent that was used to open it.