diff options
author | Eran Messeri <eranm@google.com> | 2018-12-17 16:59:16 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2018-12-21 10:05:47 +0000 |
commit | 65acd234921ae4a07ad7cbe49c69347fe194033a (patch) | |
tree | ecfb365163d1bdfecced7357f2ea37103ce118e4 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | a13ea6fdc234db389219751195e7c8a6204675bc (diff) |
Private DNS: Fix handling of null mode
Address the case where the Private DNS mode has not been set at all, so
the value obtained from settings when reading it is null.
Java cannot cope with null value in a switch statement, so translate
that case to the default value (from the ConnectivityManager), in the
same way the Settings code does when presenting Private DNS mode to the
user.
Bug: 112982691
Test: Factory reset a device, then atest com.android.cts.devicepolicy.DeviceOwnerTest#testPrivateDnsPolicy
Change-Id: Ife6b5c15b70517f75d8815103a19a9ef72122212
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions