Commit 500e4aad authored by Simon MacDonald's avatar Simon MacDonald
Browse files

Support soundname and sound for Android property

parent df0620d1
Loading
Loading
Loading
Loading
+3 −0
Changes for src/android/com/adobe/phonegap/push/GCMIntentService.java: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -202,6 +202,9 @@ public class GCMIntentService extends GCMBaseIntentService {
        }

        String soundname = extras.getString("soundname");
        if (soundname == null) {
            soundname = extras.getString("sound");
        }
        if (soundname != null) {
            Uri sound = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE
                        + "://" + context.getPackageName() + "/raw/" + soundname);