最終更新:2015-12-02 (水) 17:55:43 (3068d)
android.permission.SYSTEM_ALERT_WINDOW
Top / android.permission.SYSTEM_ALERT_WINDOW
Allows an application to open windows using the type WindowManager.LayoutParams.TYPE_SYSTEM_ALERT, shown on top of all other applications. Very few applications should use this permission; these windows are intended for system-level interaction with the user.
http://developer.android.com/reference/android/Manifest.permission.html#SYSTEM_ALERT_WINDOW
必要
- WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY
- WindowManager.LayoutParams.TYPE_SYSTEM_ERROR
- WindowManager.LayoutParams.TYPE_SYSTEM_ALERT
- WindowManager.LayoutParams.TYPE_PRIORITY_PHONE?
- WindowManager.LayoutParams.TYPE_PHONE?
チェック
パーミッション「SYSTEM_ALERT_WINDOW」を使うアプリが起動していると、APKインストール画面の「インストール」ボタンが押せない
- http://droidbiyori.tumblr.com/post/16354167891/system-alert-window-apk
- https://blog.lookout.com/blog/2010/12/09/android-touch-event-hijacking/
参考
Android/APIレベル23 (Android 6.0)
- If the app targets API level 23 or higher, the app user must explicitly grant this permission to the app through a permission management screen. The app requests the user's approval by sending an intent with action ACTION_MANAGE_OVERLAY_PERMISSION. The app can check whether it has this authorization by calling Settings.canDrawOverlays?().