summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMartijn Coenen <maco@google.com>2018-06-15 10:35:13 +0200
committerMartijn Coenen <maco@google.com>2018-06-15 10:35:13 +0200
commit9a5f05b22f6349080f00a55330bb63552b2512c1 (patch)
tree7404f0962f2919db104195edd83d8a754e3d4a06 /tools/aapt2/java/JavaClassGenerator.cpp
parent1250cd140767231a92919d94a0173b3d0bd9a730 (diff)
Clean up RemoteCallbackList when we're done with it.
When dispatching cancel callbacks for a pending intent, AMS drops its reference to the list without cleaning it up. This means that the enclosed callbacks (proxies) will stay alive until the remote process dies. For some processes like systemUI, this will happen rarely (if ever), and so sooner or later we would run into proxy resource limits for such processes. Since at this point we're done with the RemoteCallbackList, just clear it out. Bug: 109701487 Test: builds, boots, callback list is cleaned out Change-Id: Ia1a108045fb1fd12cbd94a7c516a9eab8ebca099
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions