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

Commit

Permalink
Fixed settings not sticking in first three minutes
Browse files Browse the repository at this point in the history
Closes #1042
  • Loading branch information
M66B committed Dec 30, 2013
1 parent 159b2b1 commit 9bee13a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ Test and beta releases will have experimental functions enabled by default.
**Next release**

* Fixed scroll lag on slower devices
* Fixed displaying wrong information in scroll lists
* Fixed displaying wrong information in scroll lists sometimes
* Fixed settings not sticking in first three minutes ([issue](https://github.com/M66B/XPrivacy/issues/1042))
* Updated Polish translation
* Updated Spanish translation

Expand Down
4 changes: 4 additions & 0 deletions src/biz/bokhorst/xprivacy/PrivacyManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,10 @@ private static boolean isProviderUsable(Context context) {
if (context == null)
return false;

String self = PrivacyManager.class.getPackage().getName();
if (self.equals(context.getPackageName()))
return true;

if (SystemClock.elapsedRealtime() < cUseProviderAfterMs)
return false;

Expand Down

0 comments on commit 9bee13a

Please sign in to comment.