android.provider.Settings on docs
Is there anyway to open “In-app notification settings” from within my app? Currently I open the app’s details page and then I have to click manually:
<code> startActivity(new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse("package:" + "com.google.android.projection.gearhead")));
</code>
<code> startActivity(new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse("package:" + "com.google.android.projection.gearhead")));
</code>
startActivity(new Intent(android.provider.Settings.ACTION_APPLICATION_DETAILS_SETTINGS, Uri.parse("package:" + "com.google.android.projection.gearhead")));
ACTION_APP_NOTIFICATION_SETTINGS
is for notifications which is a different subpage.
One thing I noticed is that the in-app notification settings appear in different places! For example, Android auto has it on the main details page, but facebook messenger has itr under Notifications subpage.
Any help would be appreciated.