mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-31 20:59:54 +03:00
Update ClientPermissions.java
This commit is contained in:
parent
a8e9418e89
commit
9f2c9bb589
1 changed files with 4 additions and 0 deletions
|
@ -56,6 +56,10 @@ public synchronized void compile() {
|
||||||
if (available != null) {
|
if (available != null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (perms == null) {
|
||||||
|
perms = new ArrayList<>(0);
|
||||||
|
|
||||||
|
}
|
||||||
available = new ArrayList<>(perms.size());
|
available = new ArrayList<>(perms.size());
|
||||||
for (String a : perms) {
|
for (String a : perms) {
|
||||||
available.add(new PermissionPattern(a));
|
available.add(new PermissionPattern(a));
|
||||||
|
|
Loading…
Reference in a new issue