summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2017-08-08 10:24:59 -0700
committerMakoto Onuki <omakoto@google.com>2017-08-08 18:29:53 +0000
commit62a93aada1357db8191aca9ed34274c053c1a2d9 (patch)
treea08483a0ed7e31b16b59491122195449bf2795a0 /tools/aapt2/java/JavaClassGenerator.cpp
parentb4dcdd5f45b689d6173d7c29a014485f44cbc927 (diff)
Don't retain a bitmap unnecessarily
Due to a limitation in the GC, LazyTaskWriterThread would always retain the last item it processed. Extract the second half into a separate method to clarify the scope of the variable 'item' to the GC. Bug: 64438652 Test: Launch several apps and check with ahat Change-Id: Ie7357927ae61a8731285d14743187a2d811fbf8c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions