diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2019-02-28 12:06:45 -0700 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2019-02-28 23:29:04 -0700 |
| commit | 9e8f83db6d969f1e1f47ffa0b0390d867491235b (patch) | |
| tree | 474c367ff40f2bb4d9abf26197d446e62b2ea575 /core/java/android/widget/CompoundButton.java | |
| parent | cb4dd2791aae3da4476751b5f9a74f9ee2c83682 (diff) | |
All Parcelable CREATOR fields are @NonNull.
If they were null, then the Parcelable would fail to work.
Bug: 126726802
Test: manual
Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014
Exempt-From-Owner-Approval: Trivial API annotations
Diffstat (limited to 'core/java/android/widget/CompoundButton.java')
| -rw-r--r-- | core/java/android/widget/CompoundButton.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/CompoundButton.java b/core/java/android/widget/CompoundButton.java index 3cfd373c2906..80ec1c65293b 100644 --- a/core/java/android/widget/CompoundButton.java +++ b/core/java/android/widget/CompoundButton.java @@ -545,7 +545,7 @@ public abstract class CompoundButton extends Button implements Checkable { } @SuppressWarnings("hiding") - public static final Parcelable.Creator<SavedState> CREATOR = + public static final @android.annotation.NonNull Parcelable.Creator<SavedState> CREATOR = new Parcelable.Creator<SavedState>() { @Override public SavedState createFromParcel(Parcel in) { |
