If my app is background restricted, how is it possible to request the user to remove the restriction? Is it possible to navigate the user directly to the settings, where he/she can disable the restriction with one click?
ActivityManager activityManager = (ActivityManager)getSystemService(Context.ACTIVITY_SERVICE);
if(activityManager.isBackgroundRestricted()) {
// ??
}
from Request to remove background restriction for the app ( Android )
No comments:
Post a Comment