diff --git a/src/biz/bokhorst/xprivacy/PrivacyService.java b/src/biz/bokhorst/xprivacy/PrivacyService.java index 867c04db1..0225c6af6 100644 --- a/src/biz/bokhorst/xprivacy/PrivacyService.java +++ b/src/biz/bokhorst/xprivacy/PrivacyService.java @@ -569,6 +569,12 @@ else if (hook.getFrom() != null) { } // Update cache + CRestriction ckey = new CRestriction(cresult, null); + synchronized (mRestrictionCache) { + if (mRestrictionCache.containsKey(ckey)) + mRestrictionCache.remove(ckey); + mRestrictionCache.put(ckey, ckey); + } CRestriction ukey = new CRestriction(mresult, restriction.extra); synchronized (mRestrictionCache) { if (mRestrictionCache.containsKey(ukey))