private void requestPermissionsToSystem ( Collection < String > permissions ) { if ( ! isShowingNativeDialog . get ( ) ) { androidPermissionService . requestPermissions ( activity , permissions . toArray ( new String [ permissions . size ( ) ] ) , PERMISSIONS_REQUEST_CODE ) ; } isShowingNativeDialog . set ( true ) ; }
Starts the native request permissions process