diff options
| author | Aurimas Liutikas <aurimas@google.com> | 2019-02-07 16:46:38 -0800 |
|---|---|---|
| committer | Aurimas Liutikas <aurimas@google.com> | 2019-02-07 16:46:38 -0800 |
| commit | ab324cfbe5b64a8a84d8c86210aecce5201b7814 (patch) | |
| tree | 5f3cbd8c8844095bf83b88a01b27e202f8cce95f /core/java/android/widget/CompoundButton.java | |
| parent | f6f2e32b4edbc80b608b0bee148c56709c505615 (diff) | |
Update core widgets to save attribute source info.
Bug: 111439551
Test: make -j
Change-Id: I72997a87122f38b32e38e42a690385acc7d0e521
Diffstat (limited to 'core/java/android/widget/CompoundButton.java')
| -rw-r--r-- | core/java/android/widget/CompoundButton.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/widget/CompoundButton.java b/core/java/android/widget/CompoundButton.java index a0f93da90847..3cfd373c2906 100644 --- a/core/java/android/widget/CompoundButton.java +++ b/core/java/android/widget/CompoundButton.java @@ -100,6 +100,8 @@ public abstract class CompoundButton extends Button implements Checkable { final TypedArray a = context.obtainStyledAttributes( attrs, com.android.internal.R.styleable.CompoundButton, defStyleAttr, defStyleRes); + saveAttributeDataForStyleable(context, com.android.internal.R.styleable.CompoundButton, + attrs, a, defStyleAttr, defStyleRes); final Drawable d = a.getDrawable(com.android.internal.R.styleable.CompoundButton_button); if (d != null) { |
