summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/20
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 /docs/html/sdk/api_diff/20
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 'docs/html/sdk/api_diff/20')
0 files changed, 0 insertions, 0 deletions