diff --git a/src/biz/bokhorst/xprivacy/XUsageStatsManager.java b/src/biz/bokhorst/xprivacy/XUsageStatsManager.java index cc44cb0d2..8ee8744d8 100644 --- a/src/biz/bokhorst/xprivacy/XUsageStatsManager.java +++ b/src/biz/bokhorst/xprivacy/XUsageStatsManager.java @@ -13,13 +13,13 @@ public class XUsageStatsManager extends XHook { private Methods mMethod; private XUsageStatsManager(Methods method, String restrictionName) { - super(restrictionName, method.name(), method.name().replace("Srv_", "")); + super(restrictionName, method.name().replace("Srv_", ""), method.name()); mMethod = method; } @Override public boolean isVisible() { - return (mMethod != Methods.Srv_queryConfigurationStats && mMethod != Methods.Srv_queryUsageStats); + return !mMethod.name().startsWith("Srv_"); } public String getClassName() {