diff options
| author | Alan Viverette <alanv@google.com> | 2016-03-11 10:09:14 -0500 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2016-03-11 10:09:14 -0500 |
| commit | f6d87ec193f17e8dad82c9994ba7a58e975d364b (patch) | |
| tree | 8f9dc1405d4d7434a6dd5686b08968224361591e /core/java/android/widget/CompoundButton.java | |
| parent | 95b69f82316220bc40d227bf7208920eb6ed9283 (diff) | |
Add consistent @NonNull annotations for drawable callbacks
Bug: 27599515
Change-Id: I33fdc5392302403bfff9cc74a8226173ec962af6
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 b19fe17054d7..5d7585f9d9e8 100644 --- a/core/java/android/widget/CompoundButton.java +++ b/core/java/android/widget/CompoundButton.java @@ -474,7 +474,7 @@ public abstract class CompoundButton extends Button implements Checkable { } @Override - protected boolean verifyDrawable(Drawable who) { + protected boolean verifyDrawable(@NonNull Drawable who) { return super.verifyDrawable(who) || who == mButtonDrawable; } |
