diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-11-10 20:31:44 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-11-10 20:31:44 -0800 |
commit | 8ea01fa72b44a0a47e07001344dee20edc87e148 (patch) | |
tree | d44285a1e84579ee860ce52652092e6c145a8cc8 /src/github | |
parent | 06f3917af7b7bd278b35325c3add851c433ba048 (diff) | |
download | dsub-8ea01fa72b44a0a47e07001344dee20edc87e148.tar.gz dsub-8ea01fa72b44a0a47e07001344dee20edc87e148.tar.bz2 dsub-8ea01fa72b44a0a47e07001344dee20edc87e148.zip |
Need to recycle TypedArray
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/view/SongView.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/view/SongView.java b/src/github/daneren2005/dsub/view/SongView.java index ea1f63c5..c619834e 100644 --- a/src/github/daneren2005/dsub/view/SongView.java +++ b/src/github/daneren2005/dsub/view/SongView.java @@ -205,6 +205,7 @@ public class SongView extends UpdateView implements Checkable { int[] attrs = new int[] {R.attr.download_none}; TypedArray typedArray = context.obtainStyledAttributes(attrs); moreButton.setImageResource(typedArray.getResourceId(0, 0)); + typedArray.recycle(); this.moreImage = R.drawable.download_none_light; } |