summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDake Gu <dake@google.com>2018-07-03 15:21:03 -0700
committerDake Gu <dake@google.com>2018-07-06 17:55:04 +0000
commit50b816222e8188a4f36c4334e3acd0b8310bbec6 (patch)
treeea8e58820610366349e163df0ec89b4e32da4e2b /tools/aapt2/java/JavaClassGenerator.cpp
parent69a144a87327248adeec796d6a017f79eb7cb050 (diff)
TvInputManager: fix leaking Context when failed create Session
If TvInputManagerService fails and returns null token, TvInputManager does not create a Session object, so the onSessionReleased() will not be executed. mSessionCallbackRecordMap does not clear the entry in this case. Bug: 110959874 Test: Create a TVView, call tune() with invalid id, run adb shell dumpsys meminfo and check activity count is not leaking. Change-Id: Id0c81a99cb222bac98778e5d494ebd8665cf950f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions