Notification: Apply small icon level

Change-Id: I7733da7aee54fab42bdbea09e7696a7a2bf9fb65
Fixes: 29828905
This commit is contained in:
Adrian Roos
2016-06-28 13:32:29 -07:00
parent ffaec89277
commit 9b45a1545f

View File

@@ -3415,6 +3415,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);
}