NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(appContext)
.setSmallIcon(appContext.getApplicationInfo().icon)
.setSmallIcon(R.mipmap.icon_app_small)
.setWhen(System.currentTimeMillis())
.setColor(Color.parseColor("#4e60c4"))
.setAutoCancel(true);
if (friendListBean != null && !StringUtil.isBland(friendListBean.getHeadUrl())) {
mBuilder.setLargeIcon(GetImageInputStream(friendListBean.getHeadUrl()) == null ? BitmapFactory.decodeResource(
UIUtils.getContext().getResources(), R.mipmap.icon_logo) : GetImageInputStream(friendListBean.getHeadUrl()));
} else {
mBuilder.setLargeIcon(BitmapFactory.decodeResource(
UIUtils.getContext().getResources(), R.mipmap.icon_logo));
}
Intent msgIntent = appContext.getPackageManager().getLaunchIntentForPackage(packageName);
if (notificationInfoProvider != null) {