From ed4389dc852b8bf3ea5d0cf5bf82e70421efdc10 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 14 Feb 2015 20:49:03 +0100 Subject: [PATCH] Fix new usage stat restrictions Refs #1757 --- src/biz/bokhorst/xprivacy/XUsageStatsManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/biz/bokhorst/xprivacy/XUsageStatsManager.java b/src/biz/bokhorst/xprivacy/XUsageStatsManager.java index 0a0fbbbe5..2b6e6ffe0 100644 --- a/src/biz/bokhorst/xprivacy/XUsageStatsManager.java +++ b/src/biz/bokhorst/xprivacy/XUsageStatsManager.java @@ -13,7 +13,7 @@ public class XUsageStatsManager extends XHook { private Methods mMethod; private XUsageStatsManager(Methods method, String restrictionName) { - super(restrictionName, method.name(), null); + super(restrictionName, method.name().replace("Srv_", ""), null); mMethod = method; }