Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Fixed using Srv_remove/disableXXX in compatibility mode
Browse files Browse the repository at this point in the history
Fixes #2050
  • Loading branch information
M66B committed Nov 30, 2014
1 parent 6fa73ee commit e148a9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
10 changes: 5 additions & 5 deletions src/biz/bokhorst/xprivacy/Meta.java
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public static List<Hook> 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));
Expand Down Expand Up @@ -559,9 +559,9 @@ public static List<Hook> 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
Expand All @@ -573,7 +573,7 @@ public static List<Hook> 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));
Expand Down

0 comments on commit e148a9b

Please sign in to comment.