* commit '27cb56703d350b441a2e9efc55bd16dd5b1528e7': Fixes cloned notification actions missing icon.
This commit is contained in:
@@ -953,6 +953,9 @@ public class Notification implements Parcelable
|
||||
private Action(Icon icon, CharSequence title, PendingIntent intent, Bundle extras,
|
||||
RemoteInput[] remoteInputs) {
|
||||
this.mIcon = icon;
|
||||
if (icon != null && icon.getType() == Icon.TYPE_RESOURCE) {
|
||||
this.icon = icon.getResId();
|
||||
}
|
||||
this.title = title;
|
||||
this.actionIntent = intent;
|
||||
this.mExtras = extras != null ? extras : new Bundle();
|
||||
|
||||
Reference in New Issue
Block a user