Merge "Notification: Apply small icon level" into nyc-mr1-dev

This commit is contained in:
Adrian Roos
2016-07-15 21:09:36 +00:00
committed by Android (Google) Code Review

View File

@@ -3474,6 +3474,8 @@ public class Notification implements Parcelable
mN.mSmallIcon = Icon.createWithResource(mContext, mN.icon);
}
contentView.setImageViewIcon(R.id.icon, mN.mSmallIcon);
contentView.setDrawableParameters(R.id.icon, false /* targetBackground */,
-1 /* alpha */, -1 /* colorFilter */, null /* mode */, mN.iconLevel);
processSmallIconColor(mN.mSmallIcon, contentView);
}