diff options
author | Eran Messeri <eranm@google.com> | 2019-03-05 20:39:51 +0000 |
---|---|---|
committer | Eran Messeri <eranm@google.com> | 2019-03-11 15:18:00 +0000 |
commit | 3df6695dd77330a1b31b81fb6f932de218cd4568 (patch) | |
tree | 589c5861e7534a631573ab0ee036375cc674f59b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions