commit | 3df6695dd77330a1b31b81fb6f932de218cd4568 | [log] [tgz] |
---|---|---|
author | Eran Messeri <eranm@google.com> | Tue Mar 05 20:39:51 2019 +0000 |
committer | Eran Messeri <eranm@google.com> | Mon Mar 11 15:18:00 2019 +0000 |
tree | 589c5861e7534a631573ab0ee036375cc674f59b | |
parent | 73b844d8fbadc82fc844371f2108dd053d670c7a [diff] |
Address DPM Private DNS API Review Changes: * Split setGlobalPrivateDNS to setGlobalPrivateDNSModeOpportunistic and setGlobalPrivateDNSModeSpecifiedHost as the original method had a potentially unused parameter. * Annotated return value. * Annotated with @WorkerThread the method that shouldn't be called on the main thread. Bug: 124301971 Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testPrivateDnsPolicy Change-Id: Iace4de642bcf02ad6ee3a02804643890a5017d89