Android usb host permission confirmation dialog is being dismissed when I click outside of it -
i getting android usb host permission confirmation dialog when establishing usb connection android application.
pendingintent mpermissionintent = pendingintent.getbroadcast( context.getapplicationcontext(), 0, new intent( action_usb_permission), 0); intentfilter filter = new intentfilter(action_usb_permission); context.getapplicationcontext().registerreceiver(musbreceiver, filter); manager.requestpermission(driver.getdevice(), mpermissionintent);
i want implement when user clicks outside dialog, dialog not dismissed. have this? how set setcanceledontouchoutside(false);
usb host permission confirmation dialog?