diff options
author | Fabian Kozynski <kozynski@google.com> | 2020-02-25 11:26:20 -0500 |
---|---|---|
committer | Fabian Kozynski <kozynski@google.com> | 2020-02-25 12:10:49 -0500 |
commit | 17623bfa8f42c8399698f88d5a8cf745c65301d4 (patch) | |
tree | da54aa89296a1a8b1e9dace69bed732d6bdb86f2 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 7b27da1d8fc439bc238507ffb9b54d7032e561a1 (diff) |
Prevent early destroying HotspotTile
Due to the switch to Async HotspotControllerImpl, if the controller is
created with the tile it will think that tethering is not available
(because it hasn't received callbacks saying otherwise yet) and the tile
will be preemptively destroyed. This was observable on OTAs (or when
doing a full flash).
With this change, HotspotControllerImpl will assume that tethering is
available by default and will signal callbacks if it learns that it's
not.
There are currently no other consumers of
HotspotControllerImpl#isHotspotSupported.
Fixes: 149492796
Test: atest HotspotControllerImplTest
Test: manual full flash
Change-Id: Id1461b7fbe973b732bc69c7ad77a30e0f66247d8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions