Open Developer options in Android P
Posted: 24 Mar 2019 18:57
Hi, I recently received and installed LineageOS 16 for my device, and by so also upgraded from Android 8.1 to 9. As almost no known issues with this newer Android with Automagic were reported (and the ones that existed were easy to handle with), I didn't see anything that held me to upgrade. So I've been looking around to check that everything was right and I noticed a flow was broken.
In order to use certain apps, I needed to disable root access, which I use the LOS addon for that, as when disabled, apps couldn't detect it, and so opening developer options and using Control UI to disable and enable root when going in and out of those apps was totally fine for me. But it seems that in this newer Android version they changed and hid the activity name of the developer options screen, as when opening them manually with logging on the background, refers to com.android.settings.SubSettings which isn't listed in the class list of activities on action Start Activity. Trying to copy that name it showed in the log as it is in the action and executing it, shows an error that throws "Permission denial" and a bunch of numbers and activity names.
I know I can just open the activity from where you can access Developer options and then click on it with Control UI, but wanted to know, Does anyone know what they changed and maybe a workaround to launch the activity directly?
Thanks
In order to use certain apps, I needed to disable root access, which I use the LOS addon for that, as when disabled, apps couldn't detect it, and so opening developer options and using Control UI to disable and enable root when going in and out of those apps was totally fine for me. But it seems that in this newer Android version they changed and hid the activity name of the developer options screen, as when opening them manually with logging on the background, refers to com.android.settings.SubSettings which isn't listed in the class list of activities on action Start Activity. Trying to copy that name it showed in the log as it is in the action and executing it, shows an error that throws "Permission denial" and a bunch of numbers and activity names.
I know I can just open the activity from where you can access Developer options and then click on it with Control UI, but wanted to know, Does anyone know what they changed and maybe a workaround to launch the activity directly?
Thanks