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

Commit

Permalink
Fixed on demand restricting on some Android Lollipop ROMs
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed May 24, 2015
1 parent 90b8d72 commit 200967d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 on demand restricting on some Android Lollipop ROMs (OPPO)

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

Expand Down
2 changes: 1 addition & 1 deletion src/biz/bokhorst/xprivacy/PrivacyService.java
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public static void register(List<String> listError, ClassLoader classLoader, Str
XActivityManagerService.setSemaphore(mOndemandSemaphore);

// Get context
Field fContext = am.getClass().getDeclaredField("mContext");
Field fContext = am.getClass().getField("mContext");
fContext.setAccessible(true);
mContext = (Context) fContext.get(am);

Expand Down

0 comments on commit 200967d

Please sign in to comment.