Merge "Correct the calling method in removeDefaultNetworkActiveListener"
This commit is contained in:
commit
a6e3069c27
1 changed files with 1 additions and 1 deletions
|
|
@ -2369,7 +2369,7 @@ public class ConnectivityManager {
|
|||
throw new IllegalArgumentException("Listener was not registered.");
|
||||
}
|
||||
try {
|
||||
mService.registerNetworkActivityListener(rl);
|
||||
mService.unregisterNetworkActivityListener(rl);
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue