summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-04-18 17:31:27 -0700
committerYohei Yukawa <yukawa@google.com>2018-04-18 17:31:27 -0700
commit1fc7a1d4d34fbdb621e6339b4750ea152bd66f6f (patch)
tree5186603a27f4181dc6446dcd133e75285ce3b842 /tools/aapt2/java/JavaClassGenerator.cpp
parentdf173b59f6c7b5cfea1c46188853c1194222ac52 (diff)
Fix unnecessarily extended View lifetime in IMMS
Currently InputMethodManagerService (IMMS) unnecessarily extends the lifetime of View objects used to show IME switcher dialog until the dialog is shown again, because it forgets to clear IMMS#mSwitchingDialogTitleView with null even after the dialog is closed. As a result, roughly 1.5MB of RAM will be unnecessarily consumed by the system_server once after the IME switcher dialog is shown until the device is rebooted. With this CL, IMMS#mSwitchingDialogTitleView will be cleared with null when the dialog is closed. Fixes: 78245299 Test: Manually made sure that IMMS does not hold strong references to View objects used for IME switcher dialog after the dialog is closed. Change-Id: I9fee92bb2974edeceacc680686095df480efba29
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions