Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Fix applying template
Browse files Browse the repository at this point in the history
Refs #1704
  • Loading branch information
M66B committed Jun 4, 2014
1 parent beca689 commit 1c1dbf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/biz/bokhorst/xprivacy/PrivacyManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ public static void applyTemplate(int uid, String restrictionName, boolean method
&& restricted, parentAsked || asked);
else
childMerge = getRestrictionEx(uid, rRestrictionName, hook.getName());
if ((parentRestricted && !restricted) || (!parentAsked && asked) || hook.whitelist() != null
|| !clear) {
if ((parentRestricted && !restricted) || (!parentAsked && asked) || hook.isDangerous()
|| hook.whitelist() != null || !clear) {
PRestriction child = new PRestriction(uid, rRestrictionName, hook.getName(),
(parentRestricted && restricted) || childMerge.restricted, (parentAsked || asked)
&& childMerge.asked);
Expand Down

0 comments on commit 1c1dbf5

Please sign in to comment.