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/LinearLayout.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/LinearLayout.java')
| -rw-r--r-- | core/java/android/widget/LinearLayout.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/widget/LinearLayout.java b/core/java/android/widget/LinearLayout.java index 64769b5337df..e833df9d498a 100644 --- a/core/java/android/widget/LinearLayout.java +++ b/core/java/android/widget/LinearLayout.java @@ -264,6 +264,8 @@ public class LinearLayout extends ViewGroup { final TypedArray a = context.obtainStyledAttributes( attrs, com.android.internal.R.styleable.LinearLayout, defStyleAttr, defStyleRes); + saveAttributeDataForStyleable(context, com.android.internal.R.styleable.LinearLayout, + attrs, a, defStyleAttr, defStyleRes); int index = a.getInt(com.android.internal.R.styleable.LinearLayout_orientation, -1); if (index >= 0) { |
