summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-09-11 10:34:11 -0700
committer android-build-merger <android-build-merger@google.com> 2018-09-11 10:34:11 -0700
commitcf42e434d9e579a17c25c145de5133a7b93c75f9 (patch)
tree30397cb72e3a41a89cc99c1d01f86dcd1137fbf6
parent3688f9dfc21ca605e6a8204d4fbe058c9a3e4759 (diff)
parent67dffedd92829b5293d0f3d859f413eeca2ed5f5 (diff)
Merge "Framework: Remove a nonsensical substring(0)" am: 98627fa455
am: 67dffedd92 Change-Id: Ibdac1bdc69d8f02823343b0d39b690de51da6802
-rw-r--r--core/java/android/appwidget/AppWidgetProviderInfo.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/appwidget/AppWidgetProviderInfo.java b/core/java/android/appwidget/AppWidgetProviderInfo.java
index 53315cce82dd..d148afb32b02 100644
--- a/core/java/android/appwidget/AppWidgetProviderInfo.java
+++ b/core/java/android/appwidget/AppWidgetProviderInfo.java
@@ -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;