Buggy code:
public class NotificationService extends NotificationListenerService { private static final String LOG_TAG = "NotificationService" ; private boolean notifScreenOn = true ; private String [ ] packages = null ; private Messenger rMessageProcessHandler = null ; private final ServiceConnection connToMessageProcess = new ServiceConnection ( ) { @ Override public void onServiceConnected ( ComponentName componentName , IBinder iBinder ) { } @ Override public void onServiceDisconnected ( ComponentName componentName ) { } } ; public NotificationService ( ) { } @ Override public void onNotificationPosted ( StatusBarNotification sbn ) { if ( sbn == null ) return ; Constants . log ( NotificationService . LOG_TAG , ( ( ( "New<seq2seq4repair_space>Access<seq2seq4repair_space>Event:" + ( sbn . getPackageName ( ) ) ) + "<seq2seq4repair_space>tag:" ) + ( sbn . getTag ( ) ) ) ) ; PowerManager powMan = ( ( PowerManager ) ( this . getSystemService ( POWER_SERVICE ) ) ) ; if ( ( ! ( notifScreenOn ) ) && ( powMan . isScreenOn ( ) ) ) { Constants . log ( NotificationService . LOG_TAG , "because<seq2seq4repair_space>screen<seq2seq4repair_space>out!" ) ; return ; } Notification notif = sbn . getNotification ( ) ; if ( sbn . isOngoing ( ) ) { Constants . log ( NotificationService . LOG_TAG , "because<seq2seq4repair_space>is<seq2seq4repair_space>Ongoing!" ) ; return ; } String eventPackageName ; if ( ( sbn . getPackageName ( ) ) != null ) { eventPackageName = sbn . getPackageName ( ) ; } else { Constants . log ( NotificationService . LOG_TAG , "Can't<seq2seq4repair_space>get<seq2seq4repair_space>event<seq2seq4repair_space>package<seq2seq4repair_space>name.<seq2seq4repair_space>Returning." ) ; return ; } boolean found = false ; for ( String packageName : packages ) { if ( packageName . equalsIgnoreCase ( eventPackageName ) ) { found = true ; break ; } } if ( ! found ) { Constants . log ( NotificationService . LOG_TAG , ( eventPackageName + "<seq2seq4repair_space>was<seq2seq4repair_space>not<seq2seq4repair_space>found<seq2seq4repair_space>in<seq2seq4repair_space>the<seq2seq4repair_space>include<seq2seq4repair_space>list.<seq2seq4repair_space>Returning." ) ) ; return ; } String title = eventPackageName . substring ( ( ( eventPackageName . lastIndexOf ( '.' ) ) + 1 ) ) ; Bundle notiBundle = notif . extras ; StringBuilder notifySb = new StringBuilder ( ) ; CharSequence notifyChars = notiBundle . getCharSequence ( EXTRA_TITLE ) ; if ( notifyChars != null ) { notifySb . append ( notifyChars ) ; } else { Constants . log ( NotificationService . LOG_TAG , "empty<seq2seq4repair_space>message<seq2seq4repair_space>title,return!" ) ; return ; } CharSequence bodyCS = notiBundle . getCharSequence ( EXTRA_TEXT ) ; if ( bodyCS != null ) { <START_BUG> notifySb . append ( ">" ) ; <END_BUG> notifySb . append ( bodyCS ) ; } else { Constants . log ( NotificationService . LOG_TAG , ( "empty<seq2seq4repair_space>message<seq2seq4repair_space>body,return!" + ( notifySb . toString ( ) ) ) ) ; return ; } bodyCS = notiBundle . getCharSequence ( EXTRA_SUB_TEXT ) ; if ( bodyCS != null ) { notifySb . append ( bodyCS ) ; } Message msg = Message . obtain ( ) ; msg . what = MessageProcessingService . MSG_NEW_MESSAGE ; Bundle b = new Bundle ( ) ; b . putString ( COL_MESSAGE_APP , title ) ; b . putString ( COL_MESSAGE_CONTENT , notifySb . toString ( ) ) ; Constants . log ( NotificationService . LOG_TAG , ( ( ( "Send<seq2seq4repair_space>new<seq2seq4repair_space>message<seq2seq4repair_space>title:" + title ) + "<seq2seq4repair_space>body:" ) + ( notifySb . toString ( ) ) ) ) ; msg . setData ( b ) ; try { rMessageProcessHandler . send ( msg ) ; } catch ( RemoteException e ) { e . printStackTrace ( ) ; Constants . log ( NotificationService . LOG_TAG , "Error<seq2seq4repair_space>when<seq2seq4repair_space>sending<seq2seq4repair_space>message<seq2seq4repair_space>to<seq2seq4repair_space>MessageProcessingService." ) ; } } @ Override public void onNotificationRemoved ( StatusBarNotification statusBarNotification ) { } private void loadPrefs ( ) { } @ Override public void onDestroy ( ) { } @ Override public void onCreate ( ) { } @ Override public int onStartCommand ( Intent intent , int flags , int startId ) { } }

Fix:
notifySb . append ( ":" ) ;