Merge "Recycle the TypedArray used in AnalogClock's constructor" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
85d6bfb923
@@ -200,6 +200,8 @@ public class AnalogClock extends View {
|
||||
mTimeZone = toZoneId(a.getString(com.android.internal.R.styleable.AnalogClock_timeZone));
|
||||
createClock();
|
||||
|
||||
a.recycle();
|
||||
|
||||
mDialWidth = mDial.getIntrinsicWidth();
|
||||
mDialHeight = mDial.getIntrinsicHeight();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user