Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01dac4cd authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 1970f570: Don\'t use TypedArray after recycling it

* commit '1970f570':
  Don't use TypedArray after recycling it
parents 8246270b 1970f570
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);