summaryrefslogtreecommitdiff
path: root/server/TetherControllerTest.cpp
diff options
context:
space:
mode:
authorlifr <lifr@google.com>2019-07-26 03:17:43 +0800
committerLuke Huang <huangluke@google.com>2019-07-26 03:54:31 +0800
commit72e88a79af497b294787c6ba7e232c3bd4f3c137 (patch)
treeb39647c8c88f09a0294f0f8173b91fa14a790bdb /server/TetherControllerTest.cpp
parent57b128d35eb11abeeab63b083400f2c268d68c72 (diff)
Restore the PrivateDnsMode emun to its original definition
Westworld requires the first field of all enums to be set to UNKNOWN/UNSET, but this is awkward for the resolver code and makes it hard to verify whether we have any PrivateDnsMode variables initialized to UNKNOWN by accident. So revert this change, and add a simple function to convert the internal PrivateDnsMode enum to the other PrivateDnsMode emun defined in the stats proto. Bug: 119862317 Test: atest Change-Id: Id146a16e41e0183867b3a4e2d87a2b0fc09df27d
Diffstat (limited to 'server/TetherControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions