summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorjianzhou <jianzhou@codeaurora.org>2018-02-28 14:03:15 +0800
committerJean-Michel Trivi <jmtrivi@google.com>2018-03-08 15:58:44 -0800
commit21fb09f9261a8437840cb24626c579d592d8b594 (patch)
treefac156319203878a2747389cd723dcf20d263fc0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0aa191ccbf159b0d6127cfc190e2c4d5fa319eb9 (diff)
frameworks/base: Fix AudioService JNI leaks
Root cause: AudioService keeps creating new instance of ForceControlStreamClient and linkToDeath with the same callback which leads to global reference table overflow Fix: don't create new instance if call back doesn't change; release old instance before create new one. Test: Monkey or directed (see bug) Bug: 74056493 Change-Id: I90641ae08c9abd522e2e75c6db934235c8b803e6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions