Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 72e88a79 authored by lifr's avatar lifr Committed by Luke Huang
Browse files

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
parent 57b128d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment