commit | 7c2fdc44d28c35f0838b293d57e493ac667ac88e | [log] [tgz] |
---|---|---|
author | Alexander Dorokhine <adorokhine@google.com> | Tue Dec 10 13:27:54 2019 -0800 |
committer | Alexander Dorokhine <adorokhine@google.com> | Tue Dec 10 13:27:54 2019 -0800 |
tree | c27bfceec5f6fbb3e5973c2b64f45db13ee1fc7a | |
parent | 700c836e037563618b6866cf56ee7cf988c4335b [diff] |
Fix completeExceptionally() wrapping in AndroidFuture. writeToParcel() called get(), which obtained the exception wrapped in ExecutionException. ExecutionException is not handled by Parcel's exception parcelling mechanism, causing it to throw out of completeExceptionally without sending any data, leading to hangs. Bug: 145838772 Test: presubmit Change-Id: I5bb9b8b441264195039c9a2abe6a617af4ec8316