Fix build.

Change-Id: I6b6180942d102745bd5717fcc5d0ea9e00211f18
This commit is contained in:
Dianne Hackborn
2009-10-05 17:35:26 -07:00
parent b6e85c0548
commit 42abc11092

View File

@@ -40,7 +40,7 @@ public class MonkeyNetworkMonitor extends IIntentReceiver.Stub {
private long mElapsedTime = 0; // amount of time spent between start() and stop() private long mElapsedTime = 0; // amount of time spent between start() and stop()
public void performReceive(Intent intent, int resultCode, String data, Bundle extras, public void performReceive(Intent intent, int resultCode, String data, Bundle extras,
boolean ordered) throws RemoteException { boolean ordered, boolean sticky) throws RemoteException {
NetworkInfo ni = (NetworkInfo) intent.getParcelableExtra( NetworkInfo ni = (NetworkInfo) intent.getParcelableExtra(
ConnectivityManager.EXTRA_NETWORK_INFO); ConnectivityManager.EXTRA_NETWORK_INFO);
if (LDEBUG) System.out.println("Network state changed: " if (LDEBUG) System.out.println("Network state changed: "