From 224bf3f335f0d3830393b4b8fcad5122bfb909a4 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 14 Aug 2014 18:27:46 +0200 Subject: [PATCH] Fixed asking again for allow/deny once longer than 15 seconds Refs #1873 --- CHANGELOG.md | 3 ++- src/biz/bokhorst/xprivacy/PrivacyService.java | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a72f5c54..d27a8f31c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,9 +43,10 @@ You can install XPrivacy 2.99.x by following these steps: Version 2.99.x and version 3.x will be available with a [pro license](http://www.xprivacy.eu/) only for the time being. - **Next release** +* Fixed asking again for allow/deny once longer than 15 seconds ([issue](/../../issues/1873)) + [Open issues](https://github.com/M66B/XPrivacy/issues?state=open) **Version 2.99.23 BETA** diff --git a/src/biz/bokhorst/xprivacy/PrivacyService.java b/src/biz/bokhorst/xprivacy/PrivacyService.java index 9ff743f36..e2fc0d95a 100644 --- a/src/biz/bokhorst/xprivacy/PrivacyService.java +++ b/src/biz/bokhorst/xprivacy/PrivacyService.java @@ -2002,6 +2002,7 @@ else if (unit == 'm') + category + " until=" + new Date(result.time)); CRestriction key = new CRestriction(result, null); + key.setExpiry(result.time); if (category) { key.setMethodName(null); key.setExtra(null);