recycle typedArrays

This commit is contained in:
Domingos Lopes 2016-03-22 02:50:40 -04:00
parent a994cd4c08
commit 5f58238b4f
2 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,7 @@ public class FeedItemlistAdapter extends BaseAdapter {
holder.type.setImageBitmap(null);
holder.type.setVisibility(View.GONE);
}
typeDrawables.recycle();
if(media.isCurrentlyPlaying()) {
if(media.isCurrentlyPlaying()) {

View File

@ -39,6 +39,7 @@ public class MenuItemUtils extends de.danoeh.antennapod.core.menuhandler.MenuIte
queueLock.setTitle(de.danoeh.antennapod.R.string.lock_queue);
queueLock.setIcon(ta.getDrawable(1));
}
ta.recycle();
}
}