summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2020-02-25 11:26:20 -0500
committerFabian Kozynski <kozynski@google.com>2020-02-25 12:10:49 -0500
commit17623bfa8f42c8399698f88d5a8cf745c65301d4 (patch)
treeda54aa89296a1a8b1e9dace69bed732d6bdb86f2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7b27da1d8fc439bc238507ffb9b54d7032e561a1 (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions