Set FLAG_INCLUDE_STOPPED_PACKAGES on GCM intents

Related to #75 #31
This commit is contained in:
Marvin W 2016-01-12 20:59:12 +01:00
parent 285cabc57f
commit affce9dc23
1 changed files with 1 additions and 0 deletions

View File

@ -292,6 +292,7 @@ public class McsService extends Service implements Handler.Callback {
for (AppData appData : msg.app_data) {
intent.putExtra(appData.key, appData.value);
}
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
sendOrderedBroadcast(intent, msg.category + ".permission.C2D_MESSAGE");
}