Home | History | Annotate | Download | only in com.example.android.permissionrequest

Lines Matching refs:resources

32     private static final String ARG_RESOURCES = "resources";
37 * @param resources The list of resources requested by PermissionRequest.
40 public static ConfirmationDialogFragment newInstance(String[] resources) {
43 args.putStringArray(ARG_RESOURCES, resources);
51 final String[] resources = getArguments().getStringArray(ARG_RESOURCES);
53 .setMessage(getString(R.string.confirmation, TextUtils.join("\n", resources)))
57 ((Listener) getParentFragment()).onConfirmation(false, resources);
63 ((Listener) getParentFragment()).onConfirmation(true, resources);
78 * @param resources The resources to be granted.
80 void onConfirmation(boolean allowed, String[] resources);