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

Commit

Permalink
Fixed location restrictions in AOSP mode on Android Lollipop
Browse files Browse the repository at this point in the history
Fixes #2219
  • Loading branch information
M66B committed Jun 16, 2015
1 parent b5861f3 commit 64f8c15
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Changelog

**Next release**

*...
* Fixed location restrictions in AOSP mode on Android Lollipop ([issue](/../../issues/2219))

[Open issues](https://github.com/M66B/XPrivacy/issues?state=open)

Expand Down
3 changes: 3 additions & 0 deletions src/biz/bokhorst/xprivacy/XPrivacy.java
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ private void hookSystem(ClassLoader classLoader) throws Throwable {
// Content resolver
hookAll(XContentResolver.getInstances(true), classLoader, mSecret, false);

// Location manager service
hookAll(XLocationManager.getInstances(null, true), classLoader, mSecret, false);

// Package manager service
hookAll(XPackageManager.getInstances(null, true), classLoader, mSecret, false);

Expand Down

0 comments on commit 64f8c15

Please sign in to comment.