diff options
author | Dake Gu <dake@google.com> | 2018-07-03 15:21:03 -0700 |
---|---|---|
committer | Dake Gu <dake@google.com> | 2018-07-06 17:55:04 +0000 |
commit | 50b816222e8188a4f36c4334e3acd0b8310bbec6 (patch) | |
tree | ea8e58820610366349e163df0ec89b4e32da4e2b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 69a144a87327248adeec796d6a017f79eb7cb050 (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_test.cpp')
0 files changed, 0 insertions, 0 deletions