am 1970f570: Don\'t use TypedArray after recycling it
* commit '1970f570714a4746bf592e26731ea0ee8933d363': Don't use TypedArray after recycling it
This commit is contained in:
@@ -152,11 +152,11 @@ class TimePickerDelegate extends TimePicker.AbstractTimePickerDelegate implement
|
||||
final int headerBackgroundColor = a.getColor(
|
||||
R.styleable.TimePicker_headerBackgroundColor, 0);
|
||||
|
||||
a.recycle();
|
||||
|
||||
final int layoutResourceId = a.getResourceId(
|
||||
R.styleable.TimePicker_internalLayout, R.layout.time_picker_holo);
|
||||
|
||||
a.recycle();
|
||||
|
||||
final LayoutInflater inflater = (LayoutInflater) mContext.getSystemService(
|
||||
Context.LAYOUT_INFLATER_SERVICE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user