commit | 4a0446655e6ec514f54511f467b319cd683284ef | [log] [tgz] |
---|---|---|
author | Jooyung Han <jooyung@google.com> | Wed May 13 17:17:07 2020 +0900 |
committer | Jooyung Han <jooyung@google.com> | Thu May 14 10:32:37 2020 +0900 |
tree | 21b41d2525dfbb87cad1f9e15776803ea672532f | |
parent | b142818e7d319d0dc3bc82b6b9b52b186da9f88a [diff] |
setDefaultImpl aborts on a second call The actual problem is that default implementation is set globally. setDefaultImpl might not work as expected when it is called twice with different instances. Because we don't have a proper solution for the problem, we prevent calling setDefaultImpl() twice by aborting. Bug: 140139809 Test: ./runtests.sh Change-Id: I910ef474fc87d8c818552df99a79703fc101229d