From ab324cfbe5b64a8a84d8c86210aecce5201b7814 Mon Sep 17 00:00:00 2001 From: Aurimas Liutikas Date: Thu, 7 Feb 2019 16:46:38 -0800 Subject: Update core widgets to save attribute source info. Bug: 111439551 Test: make -j Change-Id: I72997a87122f38b32e38e42a690385acc7d0e521 --- core/java/android/widget/TextClock.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/java/android/widget/TextClock.java') diff --git a/core/java/android/widget/TextClock.java b/core/java/android/widget/TextClock.java index 7f462cb3289b..a3a92d3ad265 100644 --- a/core/java/android/widget/TextClock.java +++ b/core/java/android/widget/TextClock.java @@ -242,6 +242,8 @@ public class TextClock extends TextView { final TypedArray a = context.obtainStyledAttributes( attrs, R.styleable.TextClock, defStyleAttr, defStyleRes); + saveAttributeDataForStyleable(context, R.styleable.TextClock, + attrs, a, defStyleAttr, defStyleRes); try { mFormat12 = a.getText(R.styleable.TextClock_format12Hour); mFormat24 = a.getText(R.styleable.TextClock_format24Hour); -- cgit v1.2.3