From c942625f105626c07f8dc945bc544001eef69884 Mon Sep 17 00:00:00 2001 From: TebbeUbben Date: Sat, 21 Apr 2018 22:58:06 +0200 Subject: [PATCH] Include stopped packages --- .../java/sugar/free/sightremote/utils/HistorySendIntent.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/sugar/free/sightremote/utils/HistorySendIntent.java b/app/src/main/java/sugar/free/sightremote/utils/HistorySendIntent.java index e3d2bfb..1082a57 100644 --- a/app/src/main/java/sugar/free/sightremote/utils/HistorySendIntent.java +++ b/app/src/main/java/sugar/free/sightremote/utils/HistorySendIntent.java @@ -195,6 +195,7 @@ private static void sendBroadcast(Context context, Intent intent, List p for (String p : packages) { Intent copy = new Intent(intent); copy.setPackage(p); + copy.setFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES); context.sendBroadcast(copy); } }