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

Commit

Permalink
Export on demand exceptions
Browse files Browse the repository at this point in the history
Refs #1508
  • Loading branch information
M66B committed Mar 6, 2014
1 parent c866731 commit 9d219f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/biz/bokhorst/xprivacy/ActivityShare.java
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ protected Throwable doInBackground(File... params) {
for (Hook md : PrivacyManager.getHooks(restrictionName)) {
PRestriction mrestricted = PrivacyManager.getRestrictionEx(uid,
restrictionName, md.getName());
if (!mrestricted.restricted || mrestricted.asked || md.isDangerous()) {
if (!mrestricted.restricted || !mrestricted.asked || md.isDangerous()) {
serializer.startTag(null, "Restriction");
serializer.attribute(null, "Id", Integer.toString(uid));
serializer.attribute(null, "Name", restrictionName);
Expand Down

0 comments on commit 9d219f8

Please sign in to comment.