summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2015-08-12 13:55:37 -0700
committerYohei Yukawa <yukawa@google.com>2015-08-12 13:55:37 -0700
commit67af994c6cafde37483aac818c89a7482fa07ca4 (patch)
tree24534d9b1b6a87cfbdeadea2ff8db0dcd06fd0c3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent81d6b3513513c4e9cb8b92156e7b73f2955d2930 (diff)
Clear SuggestionsPopupWindow.mSpansLengths after it is used.
This is a no risk optimization that minimizes the time when strong references to SuggestionSpan and Integer instances are hold in SuggestionsPopupWindow.mSpansLengths. SuggestionsPopupWindow.mSpansLengths are used while the given SuggestionSpans array is being sorted. We don't need to keep object references there after the sort is completed. No user visible change is intended with this CL. Change-Id: I7882d741c08d07ad7f905ad1d171c0d13da39397
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions