Skip to content
Commit 33ecd1bc authored by Tobias Lindskog's avatar Tobias Lindskog Committed by Julia Reynolds
Browse files

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.

Fixes: 78345567
Test: Manual.  Boots and reboots without problems.
Change-Id: Ie9eabbcb6ee89c05abc565427465cfd6906f3fa3
Merged-In: Ie9eabbcb6ee89c05abc565427465cfd6906f3fa3
parent 5e12ebff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment