Commit 3cff2aa0 authored by Bob Easterday's avatar Bob Easterday
Browse files

Merge pull request #76 from madebycm/master

Added getString method to setContentTitle and setTicker
parents 39c9871d 9a745a64
Loading
Loading
Loading
Loading
+2 −2
Changes for src/android/com/plugin/gcm/GCMIntentService.java: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -92,8 +92,8 @@ public class GCMIntentService extends GCMBaseIntentService {
				.setDefaults(Notification.DEFAULT_ALL)
				.setSmallIcon(context.getApplicationInfo().icon)
				.setWhen(System.currentTimeMillis())
				.setContentTitle(appName)
				.setTicker(appName)
				.setContentTitle(getString("title"))
				.setTicker(getString("title"))
				.setContentIntent(contentIntent);

		String message = extras.getString("message");