6 package com.google.appinventor.components.runtime.util;
11 import java.util.ArrayList;
12 import java.util.Collections;
13 import java.util.List;
24 private String caller;
25 private String[] permissions;
37 this.permissions = permissions;
55 for (String permission : permissions) {
66 List<String> result =
new ArrayList<>(permissions.length);
67 Collections.addAll(result, permissions);