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

Commit

Permalink
Also submit black list exceptions
Browse files Browse the repository at this point in the history
Refs #1438
  • Loading branch information
M66B committed Feb 24, 2014
1 parent 1b993e5 commit 7e27d37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Changelog
* Toggle restriction will allow to choose between, clear, restrict and template ([issue](/../../issues/1319))
* Option to select if existing restrictions should be deleted on fetch ([issue](/../../issues/1119))
* Move database to /data/system/xprivacy ([issue](/../../issues/1437))
* Submit restricted functions with a whitelist as having an exception ([issue](/../../issues/1438))
* Submit functions with a white/blacklist as having an exception ([issue](/../../issues/1438))
* Updated Dutch translation
* Updated Italian translation

Expand Down
4 changes: 2 additions & 2 deletions src/biz/bokhorst/xprivacy/ActivityShare.java
Original file line number Diff line number Diff line change
Expand Up @@ -1362,9 +1362,9 @@ else if (restrictionName.equals(PrivacyManager.cContacts))

// TODO: split files and /proc
boolean mWhitelisted = false;
if (mRestricted && md.whitelist() != null) {
if (md.whitelist() != null) {
for (Boolean allowed : mapWhitelist.get(md.whitelist()).values())
if (allowed) {
if (mRestricted ? allowed : !allowed) {
mWhitelisted = true;
break;
}
Expand Down

0 comments on commit 7e27d37

Please sign in to comment.