Move markSocketAsUser to the top of IConnectivityManager.aidl
Move markSocketAsUser to the top of IConnectivityManager.aidl to make calls from framework/native/services/connectivitymanager less fragile Change-Id: Iba92c21dfef175b570521f34e7ee2732e5a0a9c9
This commit is contained in:
@@ -37,6 +37,9 @@ import com.android.internal.net.VpnProfile;
|
||||
/** {@hide} */
|
||||
interface IConnectivityManager
|
||||
{
|
||||
// Keep this in sync with framework/native/services/connectivitymanager/ConnectivityManager.h
|
||||
void markSocketAsUser(in ParcelFileDescriptor socket, int uid);
|
||||
|
||||
void setNetworkPreference(int pref);
|
||||
|
||||
int getNetworkPreference();
|
||||
@@ -119,8 +122,6 @@ interface IConnectivityManager
|
||||
|
||||
boolean prepareVpn(String oldPackage, String newPackage);
|
||||
|
||||
void markSocketAsUser(in ParcelFileDescriptor socket, int uid);
|
||||
|
||||
ParcelFileDescriptor establishVpn(in VpnConfig config);
|
||||
|
||||
void startLegacyVpn(in VpnProfile profile);
|
||||
|
||||
Reference in New Issue
Block a user