summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTobias Lindskog <tobias.lindskog@sony.com>2018-03-12 15:44:47 +0100
committerHenrik Baard <henrik.baard@sony.com>2018-04-20 08:31:28 +0200
commit00c7393a7cbf53752dd946480b58f24c9445bc9e (patch)
tree68083da755e580672b46db5209492bef1846be49 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5a533ae4606256580d8d062dd92d742f694ea603 (diff)
Catch double unbind of dead service
If a service receives onBindingDied after it has successfully connected once, unbindService would be called once from the onBindingDied and then again from registerServiceLocked when the service was rebound. This second attempt would typically crash. The first unbindService call has a try/catch, add one around the second call as well. Test: Manual. Boots and reboots without problems. Change-Id: Ie9eabbcb6ee89c05abc565427465cfd6906f3fa3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions