Buggy code:
public abstract class StandOutWindow extends Service { static final String TAG = "StandOutWindow" ; public static final int DEFAULT_ID = 0 ; public static final int ONGOING_NOTIFICATION_ID = - 1 ; public static final int DISREGARD_ID = - 2 ; public static final String ACTION_SHOW = "SHOW" ; public static final String ACTION_RESTORE = "RESTORE" ; public static final String ACTION_CLOSE = "CLOSE" ; public static final String ACTION_CLOSE_ALL = "CLOSE_ALL" ; public static final String ACTION_SEND_DATA = "SEND_DATA" ; public static final String ACTION_HIDE = "HIDE" ; public static void show ( Context context , Class < ? extends StandOutWindow > cls , int id ) { } public static void hide ( Context context , Class < ? extends StandOutWindow > cls , int id ) { } public static void close ( Context context , Class < ? extends StandOutWindow > cls , int id ) { } public static void closeAll ( Context context , Class < ? extends StandOutWindow > cls ) { } public static void sendData ( Context context , Class < ? extends StandOutWindow > toCls , int toId , int requestCode , Bundle data , Class < ? extends StandOutWindow > fromCls , int fromId ) { } public static Intent getShowIntent ( Context context , Class < ? extends StandOutWindow > cls , int id ) { } public static Intent getHideIntent ( Context context , Class < ? extends StandOutWindow > cls , int id ) { } public static Intent getCloseIntent ( Context context , Class < ? extends StandOutWindow > cls , int id ) { } public static Intent getCloseAllIntent ( Context context , Class < ? extends StandOutWindow > cls ) { } public static Intent getSendDataIntent ( Context context , Class < ? extends StandOutWindow > toCls , int toId , int requestCode , Bundle data , Class < ? extends StandOutWindow > fromCls , int fromId ) { } static WindowCache sWindowCache ; static Window sFocusedWindow ; WindowManager mWindowManager ; private NotificationManager mNotificationManager ; LayoutInflater mLayoutInflater ; private boolean startedForeground ; @ Override public IBinder onBind ( Intent intent ) { } @ Override public void onCreate ( ) { } @ Override public int onStartCommand ( Intent intent , int flags , int startId ) { } @ Override public void onDestroy ( ) { } public abstract String getAppName ( ) { } public abstract int getAppIcon ( ) { } public abstract void createAndAttachView ( int id , YadlFrameLayout frame ) { } public abstract StandOutWindow . StandOutLayoutParams getParams ( int id , Window window ) { } public int getFlags ( int id ) { } public String getTitle ( int id ) { } public int getIcon ( int id ) { } public String getPersistentNotificationTitle ( int id ) { } public String getPersistentNotificationMessage ( int id ) { } public Intent getPersistentNotificationIntent ( int id ) { } public int getHiddenIcon ( ) { } public String getHiddenNotificationTitle ( int id ) { } public String getHiddenNotificationMessage ( int id ) { } public Intent getHiddenNotificationIntent ( int id ) { } public Notification getPersistentNotification ( int id ) { NotificationCompat . Builder NotiBuilder = new NotificationCompat . Builder ( this ) ; int icon = getAppIcon ( ) ; long when = System . currentTimeMillis ( ) ; String contentTitle = getPersistentNotificationTitle ( id ) ; String contentText = getPersistentNotificationMessage ( id ) ; NotiBuilder . setWhen ( when ) ; NotiBuilder . setSmallIcon ( icon ) ; <START_BUG> NotiBuilder . setContentTitle ( contentTitle ) . setContentText ( contentText ) . setColor ( - 1021674 ) ; <END_BUG> Intent notificationIntent = getPersistentNotificationIntent ( id ) ; PendingIntent contentIntent = null ; if ( notificationIntent != null ) { contentIntent = PendingIntent . getService ( this , 0 , notificationIntent , FLAG_UPDATE_CURRENT ) ; } NotiBuilder . setContentIntent ( contentIntent ) ; return NotiBuilder . build ( ) ; } public Notification getHiddenNotification ( int id ) { } public Animation getShowAnimation ( int id ) { } public Animation getHideAnimation ( int id ) { } public Animation getCloseAnimation ( int id ) { } public int getThemeStyle ( ) { } public PopupWindow getDropDown ( final int id ) { } public List < StandOutWindow . DropDownListItem > getDropDownItems ( int id ) { } public boolean onTouchBody ( int id , Window window , View view , MotionEvent event ) { } public void onMove ( int id , Window window , View view , MotionEvent event ) { } public void onResize ( int id , Window window , View view , MotionEvent event ) { } public boolean onShow ( int id , Window window ) { } public boolean onHide ( int id , Window window ) { } public boolean onClose ( int id , Window window ) { } public boolean onCloseAll ( ) { } public void onReceiveData ( int id , int requestCode , Bundle data , Class < ? extends StandOutWindow > fromCls , int fromId ) { } public boolean onUpdate ( int id , Window window , StandOutWindow . StandOutLayoutParams params ) { } public boolean onBringToFront ( int id , Window window ) { } public boolean onFocusChange ( int id , Window window , boolean focus ) { } public boolean onKeyEvent ( int id , Window window , KeyEvent event ) { } public final synchronized Window show ( int id ) { } public final synchronized void hide ( int id ) { } public final synchronized void close ( final int id ) { } public final synchronized void closeAll ( ) { } public final void sendData ( int fromId , Class < ? extends StandOutWindow > toCls , int toId , int requestCode , Bundle data ) { } public final synchronized void bringToFront ( int id ) { }

Fix:
NotiBuilder . setContentTitle ( contentTitle ) . setContentText ( contentText ) . setColor ( - 13524702 ) ;