mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1230937 - Restricted profiles: Always allow features that are not in the configuration. r=margaret
This commit is contained in:
parent
d590ae184e
commit
4628ca63b5
@ -72,6 +72,11 @@ public class RestrictedProfileConfiguration implements RestrictionConfiguration
|
||||
return !cachedUserRestrictions.getBoolean(restrictable.name);
|
||||
}
|
||||
|
||||
if (!cachedAppRestrictions.containsKey(restrictable.name) && !configuration.containsKey(restrictable)) {
|
||||
// Always allow features that are not in the configuration
|
||||
return true;
|
||||
}
|
||||
|
||||
return cachedAppRestrictions.getBoolean(restrictable.name, configuration.get(restrictable));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user