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

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Feb 22, 2014
1 parent 95a76bc commit c93c0a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/biz/bokhorst/xprivacy/PrivacyService.java
Original file line number Diff line number Diff line change
Expand Up @@ -1212,13 +1212,13 @@ private boolean onDemandDialog(final Hook hook, final PRestriction restriction,
}
if (restriction.extra != null && hook != null && hook.whitelist() != null) {
CSetting skey = new CSetting(restriction.uid, hook.whitelist() + "." + restriction.extra);
CSetting fkey = null;
CSetting xkey = null;
String xextra = getXExtra(restriction, hook);
if (xextra != null)
fkey = new CSetting(restriction.uid, hook.whitelist() + "." + xextra);
xkey = new CSetting(restriction.uid, hook.whitelist() + "." + xextra);
synchronized (mSettingCache) {
if (mSettingCache.containsKey(skey)
|| (fkey != null && mSettingCache.containsKey(fkey))) {
|| (xkey != null && mSettingCache.containsKey(xkey))) {
Util.log(null, Log.WARN, "Already asked " + skey);
return false;
}
Expand Down

0 comments on commit c93c0a0

Please sign in to comment.