On the Bean Android hardware, setting the window type of the warning dialog box to WindowManager.LayoutParams.TYPE_SYSTEM_ALERT no longer disables the home key. In the window of the ICS settings window in WindowManager.LayoutParams.TYPE_SYSTEM_ALERT, all keystrokes will be blocked. Is there any other way to avoid the home key and recent application key from rejecting the warning dialog on android JB ??
I need to close the warning dialog only by clicking OK in the dialog. Please let me know how to stop the home key and the last application key from rejecting the notification dialog box.
source share