public static boolean onMessage(Context context, Intent intent) {
    """
	Handles a GCM message.  Returns true ONLY if this message was intended for Socialize.
	@param context
	@param intent
	@return
    """
		assertInitialized(context);
		
		Bundle messageData = intent.getExtras();
		
		if(messageData != null) {
			String source = messageData.getString(C2DMCallback.SOURCE_KEY);
			if(source != null && source.trim().equalsIgnoreCase(C2DMCallback.SOURCE_SOCIALIZE)) {
				handler.onMessage(context, intent);
				return true;
			}
		}

		return false;		
	}
public static boolean onMessage(Context context, Intent intent) {
		assertInitialized(context);
		
		Bundle messageData = intent.getExtras();
		
		if(messageData != null) {
			String source = messageData.getString(C2DMCallback.SOURCE_KEY);
			if(source != null && source.trim().equalsIgnoreCase(C2DMCallback.SOURCE_SOCIALIZE)) {
				handler.onMessage(context, intent);
				return true;
			}
		}

		return false;		
	}
public static boolean onMessage ( Context context , Intent intent ) { assertInitialized ( context ) ; Bundle messageData = intent . getExtras ( ) ; if ( messageData != null ) { String source = messageData . getString ( C2DMCallback . SOURCE_KEY ) ; if ( source != null && source . trim ( ) . equalsIgnoreCase ( C2DMCallback . SOURCE_SOCIALIZE ) ) { handler . onMessage ( context , intent ) ; return true ; } } return false ; }
Handles a GCM message.  Returns true ONLY if this message was intended for Socialize.
@param context
@param intent
@return
Handles a GCM message . Returns true ONLY if this message was intended for Socialize .