Xiaomi devices permission to enable apps pop-up windows while running in the background
To redirect users to the "other permissions" screen use this code
Intent intent = new Intent("miui.intent.action.APP_PERM_EDITOR");
intent.setClassName("com.miui.securitycenter",
"com.miui.permcenter.permissions.PermissionsEditorActivity");
intent.putExtra("extra_pkgname", getPackageName());
startActivity(intent);
Source
Still looking for a way to tell if this option is check or not prgrammatically...
What's more interesting is, how some apps have managed to have this option checked before any user interaction... maybe there is some secret miui permission?...