resolved conflicts for merge of ee6dfc50 to master

Change-Id: I31297232c9d918a967b93c3ae977f81b6a94f2ed
This commit is contained in:
Robert Greenwalt
2010-09-09 13:15:32 -07:00
3 changed files with 113 additions and 0 deletions

View File

@@ -105,6 +105,14 @@ public class ConnectivityManager
* it with {@link android.content.Intent#getStringExtra(String)}.
*/
public static final String EXTRA_EXTRA_INFO = "extraInfo";
/**
* The lookup key for an int that provides information about
* our connection to the internet at large. 0 indicates no connection,
* 100 indicates a great connection. Retrieve it with
* {@link android.content.Intent@getIntExtra(String)}.
* {@hide}
*/
public static final String EXTRA_INET_CONDITION = "inetCondition";
/**
* Broadcast Action: The setting for background data usage has changed
@@ -575,4 +583,16 @@ public class ConnectivityManager
return false;
}
}
/*
* @param networkType The type of network you want to report on
* @param percentage The quality of the connection 0 is bad, 100 is good
* {@hide}
*/
public void reportInetCondition(int networkType, int percentage) {
try {
mService.reportInetCondition(networkType, percentage);
} catch (RemoteException e) {
}
}
}

View File

@@ -78,4 +78,6 @@ interface IConnectivityManager
String[] getTetherableBluetoothRegexs();
void requestNetworkTransitionWakelock(in String forWhom);
void reportInetCondition(int networkType, int percentage);
}