How to check, detect or identify the settings component screen overlay or any feature available or not
问题 My android app need display over other app permission which is screen overlay permission. Settings.ACTION_MANAGE_OVERLAY_PERMISSION SYSTEM_ALERT_WINDOW In normal android OS device i can give permission easily using this code. if (!Settings.canDrawOverlays(this) && !Constant.IsOverlayPermissionGiven) { Intent intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:" + getPackageName())); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.setFlags(Intent.FLAG