Skip to content

Commit 9a01a2f

Browse files
bradfitzAndroid Code Review
authored andcommitted
Merge "Fixing self-assignment in cloning code."
2 parents 7972e38 + a8b9183 commit 9a01a2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/app/Notification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ public Notification clone() {
374374
if (this.contentView != null) {
375375
that.contentView = this.contentView.clone();
376376
}
377-
that.iconLevel = that.iconLevel;
377+
that.iconLevel = this.iconLevel;
378378
that.sound = this.sound; // android.net.Uri is immutable
379379
that.audioStreamType = this.audioStreamType;
380380

0 commit comments

Comments
 (0)