summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-07-10 10:02:58 -0700
committerJohn Reck <jreck@google.com>2015-07-10 10:08:01 -0700
commit5a1356916d40321736e336004aba31c39d6d6995 (patch)
treefd2730cbc58b9dbdf873c6b866f6d7760cca3aed /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9613e9b76410b15b7f2700080a17476bf9f3461c (diff)
Improve ImageView drawable re-use
Bug 22403868 Initial attempt only helped if setImageBitmap() was the only thing called but during new-loading content it's common for a placeholder to be set via setImageDrawable. Tweak ImageView slightly to just have a BitmapDrawable that it lazy-creates but will hold on to for any subsequent calls to setImageBitmap Change-Id: I7380521c7b363d458e4cda041f1f8b2b1fb3a93a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions