diff --git a/src/biz/bokhorst/xprivacy/PrivacyService.java b/src/biz/bokhorst/xprivacy/PrivacyService.java index d721b5173..ca46ab921 100644 --- a/src/biz/bokhorst/xprivacy/PrivacyService.java +++ b/src/biz/bokhorst/xprivacy/PrivacyService.java @@ -2312,10 +2312,8 @@ private Context getContext() { try { Class cam = Class.forName("com.android.server.am.ActivityManagerService"); Object am = cam.getMethod("self").invoke(null); - if (am == null) { - Util.log(null, Log.ERROR, cam.getName() + ".mContext not found"); + if (am == null) return null; - } Field mContext = cam.getDeclaredField("mContext"); mContext.setAccessible(true); return (Context) mContext.get(am);