Fix bad nesting count when remote calls fail.
The nesting count for services depends on callbacks decrementing ServiceRecord.executeNesting in response to remote service calls. If a remote call fails the callback does not get made and the nesting count gets out of sync. This causes orphans in the executingServices set. This fix makes the callback locally when the remote call fails. TransactionTooLargeExceptions caused by Intents containing large amounts of data were being caught and not propagated to the calling methods. This fix propagates TransactionTooLargeExceptions back to the calling methods. Fixes bug 19698308. Change-Id: I9eb6ae414d14d6b3a2709abb1f2bdfbd4cbc3c03
Loading
Please register or sign in to comment