Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b24b1d3 authored by Jeff Sharkey's avatar Jeff Sharkey Committed by Android (Google) Code Review
Browse files

Merge "Pass changed NetworkInfo to LocationProvider." into jb-mr1-dev

parents a70cd049 821bd808
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -1804,9 +1804,8 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
                    mNetworkState = LocationProvider.TEMPORARILY_UNAVAILABLE;
                }

                final ConnectivityManager connManager = (ConnectivityManager) context
                        .getSystemService(Context.CONNECTIVITY_SERVICE);
                final NetworkInfo info = connManager.getActiveNetworkInfo();
                final NetworkInfo info = intent.getParcelableExtra(
                        ConnectivityManager.EXTRA_NETWORK_INFO);

                // Notify location providers of current network state
                synchronized (mLock) {