mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-24 12:15:12 +00:00
Include GCM message ID in app message intent
This commit is contained in:
parent
3d9a8f4af9
commit
652d7a9104
1 changed files with 1 additions and 0 deletions
|
@ -459,6 +459,7 @@ public class McsService extends Service implements Handler.Callback {
|
||||||
intent.setAction(ACTION_C2DM_RECEIVE);
|
intent.setAction(ACTION_C2DM_RECEIVE);
|
||||||
intent.setPackage(msg.category);
|
intent.setPackage(msg.category);
|
||||||
intent.putExtra(EXTRA_FROM, msg.from);
|
intent.putExtra(EXTRA_FROM, msg.from);
|
||||||
|
intent.putExtra(EXTRA_MESSAGE_ID, msg.id);
|
||||||
if (app.wakeForDelivery) {
|
if (app.wakeForDelivery) {
|
||||||
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
intent.addFlags(Intent.FLAG_INCLUDE_STOPPED_PACKAGES);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue