Add from field to legacy C2DM support.

This commit is contained in:
mar-v-in 2015-10-20 19:04:01 +02:00
parent 6310efb702
commit 770a70821e
1 changed files with 1 additions and 0 deletions

View File

@ -259,6 +259,7 @@ public class McsService extends Service implements Handler.Callback {
Intent intent = new Intent();
intent.setAction("com.google.android.c2dm.intent.RECEIVE");
intent.addCategory(msg.category);
intent.putExtra("from", msg.from);
for (AppData appData : msg.app_data) {
intent.putExtra(appData.key, appData.value);
}