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

Commit

Permalink
Partial all on demand, even when all categories disabled
Browse files Browse the repository at this point in the history
Refs #1615
  • Loading branch information
M66B committed Apr 8, 2014
1 parent 874b342 commit 2b08f99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/biz/bokhorst/xprivacy/RState.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public RState(int uid, String restrictionName, String methodName) {
if (methodName == null) {
if (restrictionName == null) {
// Examine the category state
someAsk = onDemand;
for (String rRestrictionName : PrivacyManager.getRestrictions()) {
PRestriction query = PrivacyManager.getRestrictionEx(uid, rRestrictionName, null);
allRestricted = (allRestricted && query.restricted);
Expand Down

0 comments on commit 2b08f99

Please sign in to comment.