Merge "Framework: Remove a nonsensical substring(0)"

This commit is contained in:
Treehugger Robot
2018-09-11 16:30:36 +00:00
committed by Gerrit Code Review

View File

@@ -400,7 +400,7 @@ public class AppWidgetProviderInfo implements Parcelable {
that.initialLayout = this.initialLayout;
that.initialKeyguardLayout = this.initialKeyguardLayout;
that.configure = this.configure == null ? null : this.configure.clone();
that.label = this.label == null ? null : this.label.substring(0);
that.label = this.label;
that.icon = this.icon;
that.previewImage = this.previewImage;
that.autoAdvanceViewId = this.autoAdvanceViewId;