转载请注明 作者:田野光 地址:http://blog.csdn.net/lovefish2/article/details/48295409
英文好的,请直接看这里:Notification bar icon turns white in Android 5 Lollipop
异常描述:
向通知栏发送一个通知,设置icon,在Android 4.4以下版本,icon可以正常显示,但是在5.0以上版本中,icon显示为灰色圆圈内一个白色圆点。
Notification notification = new Notification.Builder(context)
.setAutoCancel(true)
.setContentTitle("My notification")
.setContentText("Look, white in Lollipop, else color!")
.setSmallIcon(getNotifi