I send notification:
NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(this);
mBuilder.setSmallIcon(R.drawable.icon2);
mBuilder.setContentTitle(title);
mBuilder.setColor(getResources().getColor(R.color.smalNotificationBackground));
mBuilder.setAutoCancel(true);
mBuilder.setContentText(text);
mBuilder.setSound(RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION));
mBuilder.setContentIntent(resultPendingIntent);
int mNotificationId = i+900;
NotificationManager mNotifyMgr =
(NotificationManager) getSystemService(NOTIFICATION_SERVICE);
mNotifyMgr.notify(mNotificationId, mBuilder.build());
When it happen in status bar I see just white square, how to set my app icon? When screen is lock, notification is ok, with my Icon.