summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBenedict Wong <benedictwong@google.com>2021-09-10 20:52:25 +0000
committerBenedict Wong <benedictwong@google.com>2021-09-13 20:35:48 +0000
commit5f78eff3974131de1ab2571c561bf9ead86c0798 (patch)
tree293d25fa655762fc5c5793051a68e8e9f99a545f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfc9b5bac0d643ed81a8ae2793df979c2321b2314 (diff)
Always trigger safe mode callbacks
This change ensures that safe mode callbacks are always triggered from the VcnGatewayConnection up, ensuring that if a gateway connection is restarted and successfully validates, it will notify the Vcn class, and kick it out of safe mode. Previously, if a VCN had entered safe mode, and a config was updated, the newly updated VcnGatewayConnection would be brought up as "not" in safe mode, and thus the onSafeModeStatusChanged() callback would never be fired if the new VcnGatewayConnection successfully connected. Calling onSafeModeStatusChanged() multiple times is safe, and serves as a "connection status changed" callback. Bug: 196841140 Test: atest FrameworksVcnTests Test: manual testing Original-Change: https://android-review.googlesource.com/1811936 Change-Id: I43c82ada9e9429e8283be65ab73d13075dfd6038 Merged-In: I856517924d0a767b63ea6127b7d4e39e09e93f2c (cherry picked from commit 7cf35e7bd940c6f4ee0035a4c1b081c71c85c7f9)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions