diff options
author | Pinyao Ting <pinyaoting@google.com> | 2021-04-26 09:50:21 -0700 |
---|---|---|
committer | Pinyao Ting <pinyaoting@google.com> | 2021-04-26 09:50:21 -0700 |
commit | 525a89b21c1e8647eb129b6f576de34090ca96f1 (patch) | |
tree | 1fa36b7cefdd4bf30a5f14901518414b339f4dcb /docs/html/sdk/api_diff/15/changes | |
parent | 00475ff23db79408610218c9627ab7547066df81 (diff) |
Fixes a potential error in setDynamicShortcut
In the current implementation, ret.complete will still be called after
ret.completeExceptionally is called. Although the second call doesn't do
anything right now since the implementation of AndroidFuture ignores
consecutive attempts at calling complete on an already completed future,
it is better to avoid these kind of behaviors in the first place.
Bug: 186237458
Test: manual
Change-Id: I65e44c28ded947d499ba74aafd9a2686f02a9f18
Diffstat (limited to 'docs/html/sdk/api_diff/15/changes')
0 files changed, 0 insertions, 0 deletions