permission denied for window type 2002 code example
Example 1: permission denied for window type 2002
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
Example 2: permission denied for window type 2002
WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY