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

Commit

Permalink
Update application state after changing on demand restricting
Browse files Browse the repository at this point in the history
Fixes #1515
  • Loading branch information
M66B committed Mar 7, 2014
1 parent 826ef59 commit 1b04e33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Changelog
**Next release**

* Added version number to reboot view
* Update application state after changing on demand restricting ([issue](/../../issues/1515))

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

Expand Down
2 changes: 2 additions & 0 deletions src/biz/bokhorst/xprivacy/RState.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,7 @@ public void toggleAsked() {
List<PRestriction> listPRestriction = new ArrayList<PRestriction>();
listPRestriction.add(new PRestriction(mUid, mRestrictionName, mMethodName, restricted, asked));
PrivacyManager.setRestrictionList(listPRestriction);
PrivacyManager.setSetting(mUid, PrivacyManager.cSettingState, Integer.toString(ActivityMain.STATE_CHANGED));
PrivacyManager.setSetting(mUid, PrivacyManager.cSettingModifyTime, Long.toString(System.currentTimeMillis()));
}
}

0 comments on commit 1b04e33

Please sign in to comment.