private static List < String > getRationalePermissions ( Source source , String ... permissions ) { List < String > rationaleList = new ArrayList <> ( 1 ) ; for ( String permission : permissions ) { if ( source . isShowRationalePermission ( permission ) ) { rationaleList . add ( permission ) ; } } return rationaleList ; }
Get permissions to show rationale .