diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2014-08-22 17:10:50 -0700 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2014-08-29 10:21:58 -0700 |
commit | b57edc5ae999abd9c7310833f4f10bbacbc469d7 (patch) | |
tree | 03730061a19b829be5d603fb72b47bcc305dc708 /core/java/android/os | |
parent | 551056ec0fd274f4696c2cf1ec9c62298f7f7226 (diff) | |
download | frameworks_base-b57edc5ae999abd9c7310833f4f10bbacbc469d7.zip frameworks_base-b57edc5ae999abd9c7310833f4f10bbacbc469d7.tar.gz frameworks_base-b57edc5ae999abd9c7310833f4f10bbacbc469d7.tar.bz2 |
Pass the socket mark for DNS queries to dnsmasq.
This makes tethered clients use the correct DNS servers when
tethering to non-default networks like the DUN APN.
Bug: 16357676
Change-Id: I8933b6de198a92c2aaf0291931ace8966ddba275
Diffstat (limited to 'core/java/android/os')
-rw-r--r-- | core/java/android/os/INetworkManagementService.aidl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl index 6d4a302..b3e28ea 100644 --- a/core/java/android/os/INetworkManagementService.aidl +++ b/core/java/android/os/INetworkManagementService.aidl @@ -19,6 +19,7 @@ package android.os; import android.net.InterfaceConfiguration; import android.net.INetworkManagementEventObserver; +import android.net.Network; import android.net.NetworkStats; import android.net.RouteInfo; import android.net.UidRange; @@ -164,10 +165,10 @@ interface INetworkManagementService /** * Sets the list of DNS forwarders (in order of priority) */ - void setDnsForwarders(in String[] dns); + void setDnsForwarders(in Network network, in String[] dns); /** - * Returns the list of DNS fowarders (in order of priority) + * Returns the list of DNS forwarders (in order of priority) */ String[] getDnsForwarders(); |