mirror of https://github.com/YTVanced/VancedMicroG
Add from field to legacy C2DM support.
This commit is contained in:
parent
6310efb702
commit
770a70821e
|
@ -259,6 +259,7 @@ public class McsService extends Service implements Handler.Callback {
|
||||||
Intent intent = new Intent();
|
Intent intent = new Intent();
|
||||||
intent.setAction("com.google.android.c2dm.intent.RECEIVE");
|
intent.setAction("com.google.android.c2dm.intent.RECEIVE");
|
||||||
intent.addCategory(msg.category);
|
intent.addCategory(msg.category);
|
||||||
|
intent.putExtra("from", msg.from);
|
||||||
for (AppData appData : msg.app_data) {
|
for (AppData appData : msg.app_data) {
|
||||||
intent.putExtra(appData.key, appData.value);
|
intent.putExtra(appData.key, appData.value);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue