From e148a9bda5a9ca3538869a16d4cdd87ec97d532a Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 30 Nov 2014 19:29:28 +0100 Subject: [PATCH] Fixed using Srv_remove/disableXXX in compatibility mode Fixes #2050 --- CHANGELOG.md | 1 + src/biz/bokhorst/xprivacy/Meta.java | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21a2b696a..fddcd6e0e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,6 +28,7 @@ See for more information about XPrivacy 3 [this FAQ](https://github.com/M66B/XPr * Show parameter to *getPackagesForUid*/*Srv_getPackagesForUid* * Fixed renaming long template names ([issue](/../../issues/2052)) +* Fixed using *Srv_requestLocationUpdates* in compatibility mode ([issue](/../../issues/2050)) [Open issues](https://github.com/M66B/XPrivacy/issues?state=open) diff --git a/src/biz/bokhorst/xprivacy/Meta.java b/src/biz/bokhorst/xprivacy/Meta.java index 4522c34db..c10de0b31 100644 --- a/src/biz/bokhorst/xprivacy/Meta.java +++ b/src/biz/bokhorst/xprivacy/Meta.java @@ -525,7 +525,7 @@ public static List get() { // ClipboardManager/Service mListHook.add(new Hook(null, "removePrimaryClipChangedListener", "", 11, null, null).notAOSP(19)); - mListHook.add(new Hook(null, "Srv_removePrimaryClipChangedListener", "", 11, null, null)); + mListHook.add(new Hook(null, "Srv_removePrimaryClipChangedListener", "", 11, null, null).AOSP(19)); // Content resolvers mListHook.add(new Hook(null, "query", "", 1, null, null).notAOSP(19)); @@ -559,9 +559,9 @@ public static List get() { // LocationManager/Service mListHook.add(new Hook(null, "removeUpdates", "", 3, null, null).notAOSP(19)); - mListHook.add(new Hook(null, "Srv_removeUpdates", "", 19, null, null)); - mListHook.add(new Hook(null, "Srv_removeGeofence", "", 19, null, null)); - mListHook.add(new Hook(null, "Srv_removeGpsStatusListener", "", 19, null, null)); + mListHook.add(new Hook(null, "Srv_removeUpdates", "", 19, null, null).AOSP(19)); + mListHook.add(new Hook(null, "Srv_removeGeofence", "", 19, null, null).AOSP(19)); + mListHook.add(new Hook(null, "Srv_removeGpsStatusListener", "", 19, null, null).AOSP(19)); mListHook.add(new Hook(null, "MapV1.disableMyLocation", "", 1, null, null).optional()); // MediaRecorder @@ -573,7 +573,7 @@ public static List get() { // TelephonyManager mListHook.add(new Hook(null, "disableLocationUpdates", "", 10, null, null).notAOSP(19)); - mListHook.add(new Hook(null, "Srv_disableLocationUpdates", "", 19, null, null)); + mListHook.add(new Hook(null, "Srv_disableLocationUpdates", "", 19, null, null).AOSP(19)); // UtilHook mListHook.add(new Hook(null, "isXposedEnabled", "", 15, null, null));