I have an app in which i have to enable notification access for my app on button click without opening System setting screen. How do i archeive.
code:-
startActivity(new Intent("android.settings.ACTION_NOTIFICATION_LISTENER_SETTINGS"));
but don't want to open system setting.