OSDN Git Service

Fix the memory leak by WeakHashMap.
authorOwen Lin <owenlin@google.com>
Mon, 14 Nov 2011 04:23:03 +0000 (12:23 +0800)
committerOwen Lin <owenlin@google.com>
Mon, 14 Nov 2011 09:32:39 +0000 (17:32 +0800)
commitc903fd67c26d652f9dbd5cb321b64d1601357985
tree17b765b86ff73f687ef3af67fa9ef11f7ca62c1a
parentc9af80a1e46106b93271903753d36682b480479c
Fix the memory leak by WeakHashMap.

fix: 5601885

Also simplify the code.

Change-Id: I97cdf00d84fa093ad7032e85ec7c31c3365e2447
src/com/android/gallery3d/util/SpinnerVisibilitySetter.java