summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorErik Kline <ek@google.com>2017-02-13 17:28:53 +0900
committerErik Kline <ek@google.com>2017-02-14 12:20:39 +0900
commit8ea45483fc59ef63851a64640ed1bb18c09f7ea9 (patch)
tree86307cb74e2023e56019eb0f8b9a219633be6e15 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentfb19d8d7c142aae0aaa9782db145fee072071fbf (diff)
Cleanup in the face of upstream error
If either enableNat() or startInterfaceForwarding() fail, be sure to cleanup any commands that might have succeeded. Most of this change is a refactoring of cleanupUpstreamIface() into two methods, one of which (cleanupUpstreamInterface()) is reused in error handling scenarios. Test: as follows - built (bullhead) - flashed - booted - runtest -x .../tethering/TetherInterfaceStateMachineTest.java passes Bug: 32031803 Bug: 32163131 Change-Id: Ia4d56e03beeab1908d8b8c2202e94992f1aa58a4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions