From bdc6f1b011d6ca036a89758e25d5de7854267181 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 6 Aug 2014 11:40:34 +0200 Subject: [PATCH] Fixed restriction Srv_startActivities Fixes #1853 --- CHANGELOG.md | 1 + src/biz/bokhorst/xprivacy/XActivityManager.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b012c044..48e9e0b3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ Changelog * Fixed alignment of the check boxes in the details view * Added menu *Check for updates* (only [Pro license](http://www.xprivacy.eu/)) +* Fixed restriction *Srv_startActivities* ([issue](/../../issues/1853)) * Updated Dutch translation * Updated Simplified Chinese translation diff --git a/src/biz/bokhorst/xprivacy/XActivityManager.java b/src/biz/bokhorst/xprivacy/XActivityManager.java index f8281832c..a48ef74d5 100644 --- a/src/biz/bokhorst/xprivacy/XActivityManager.java +++ b/src/biz/bokhorst/xprivacy/XActivityManager.java @@ -106,7 +106,7 @@ protected void before(XParam param) throws Throwable { if (listIntent.size() == 0) param.setResult(0); // ActivityManager.START_SUCCESS else - param.args[2] = listIntent.toArray(); + param.args[2] = listIntent.toArray(new Intent[0]); } break;