I am using below intent to open the app optimization settings page in Android.
Intent i = new Intent(android.provider.Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS);
It opens the page but shows the not optimized apps by default. The user then has to select All Apps and only then they can find my app.
I want to show the user all apps by default. I have seen some apps do it, but I can't figure out how.