Skip to content

Commit a8b9183

Browse files
author
Jozef BABJAK
committed
Fixing self-assignment in cloning code.
Change-Id: I6c918c0c7345678cbb171905eccfca50e59ae41a
1 parent 7118bde commit a8b9183

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)