summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKoji Fukui <koji.fukui@sony.com>2017-10-20 16:42:51 +0900
committerKoji Fukui <Koji.Fukui@sony.com>2017-11-13 08:27:21 +0000
commit05b6857f6b4b4ce7c0e4df38d38264bf42297d3b (patch)
treee7b9e620dab25164d7bd46676f67a395d484a833 /tools/aapt2/java/JavaClassGenerator.cpp
parent80c3c7093040a6c66a2fa7c634451694d2bb5ee8 (diff)
Stop observing death of PrintManager listener when it is removed
Symptom: Global reference table overflow happens on system_server. Root cause: When a listener is added to the PrintManager, death notification for the listener is registered. So the listener is added to global reference table. But the death notification is not unregistered when the listener is removed from PrintManager. The listener isn't removed from the global reference table until client process die. If client process repeatedly add/remove listener, the global reference table overflow. Solution: Call unlinkToDeath() when the listener is removed from PrintManager. Test: cts-tradefed run cts-dev -m Print Bug: 68746445 Change-Id: I0b133e4607317a15e51bdf6e1248552dcc920d6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions