@ SuppressWarnings ( { "unused" , "WeakerAccess" } ) public static NotificationInfo getNotificationInfo ( final Bundle extras ) { if ( extras == null ) return new NotificationInfo ( false , false ) ; boolean fromCleverTap = extras . containsKey ( Constants . NOTIFICATION_TAG ) ; boolean shouldRender = fromCleverTap && extras . containsKey ( "nm" ) ; return new NotificationInfo ( fromCleverTap , shouldRender ) ; }
Checks whether this notification is from CleverTap .