From 1961d7d85fe1b41a1154f590156c0dbf1da747bd Mon Sep 17 00:00:00 2001 From: Marcel Bokhorst Date: Tue, 24 Jun 2014 09:03:03 +0200 Subject: [PATCH] Log number of restrictions --- src/biz/bokhorst/xprivacy/PrivacyManager.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/biz/bokhorst/xprivacy/PrivacyManager.java b/src/biz/bokhorst/xprivacy/PrivacyManager.java index 4095c3cd9..05a68e6dd 100644 --- a/src/biz/bokhorst/xprivacy/PrivacyManager.java +++ b/src/biz/bokhorst/xprivacy/PrivacyManager.java @@ -148,7 +148,8 @@ public class PrivacyManager { static { List listRestriction = getRestrictions(); - for (Hook hook : Meta.get()) { + List listHook = Meta.get(); + for (Hook hook : listHook) { String restrictionName = hook.getRestrictionName(); // Check restriction @@ -179,6 +180,7 @@ public class PrivacyManager { mPermission.get(aPermission).add(hook); } } + Util.log(null, Log.WARN, listHook.size() + " restrictions"); } public static List getRestrictions() {