Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,9 @@ public LatinKeyboardBaseView(Context context, AttributeSet attrs, int defStyle)
break;
}
}
if (a != null) {
a.recycle();
}

final Resources res = getResources();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ public LatinKeyboardView(Context context, AttributeSet attrs, int defStyle) {
break;
}
}
if (a != null) {
a.recycle();
}

final Resources res = getResources();
if (previewLayout != 0) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ protected void init(Context context, AttributeSet attrs) {
mAsPercent = a.getBoolean(R.styleable.SeekBarPreference_asPercent, false);
mLogScale = a.getBoolean(R.styleable.SeekBarPreference_logScale, false);
mDisplayFormat = a.getString(R.styleable.SeekBarPreference_displayFormat);
if (a != null) {
a.recycle();
}
}

@Override
Expand Down