diff options
author | Erik Kline <ek@google.com> | 2015-04-21 13:09:15 +0900 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2015-04-21 13:27:48 +0900 |
commit | 32830cc8204fe20cd3103e0ef45800ecb8f8ea9d (patch) | |
tree | 89d077d662316ffb230f06292cefa53eb7f97039 /services | |
parent | d00d70a6ce9174bf48207b3d90573bcf7862273e (diff) | |
download | frameworks_base-32830cc8204fe20cd3103e0ef45800ecb8f8ea9d.zip frameworks_base-32830cc8204fe20cd3103e0ef45800ecb8f8ea9d.tar.gz frameworks_base-32830cc8204fe20cd3103e0ef45800ecb8f8ea9d.tar.bz2 |
Listen for CONNECTIVITY_ACTION instead of _IMMEDIATE
I missed this in yesterday's reaping of CONNECTIVITY_ACTION_IMMEDIATE.
Bug: 20013379
Change-Id: I6a7a0b76c1e2d183d9357ecf912ebb6dc0a5c08f
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/location/GpsLocationProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/location/GpsLocationProvider.java b/services/core/java/com/android/server/location/GpsLocationProvider.java index d0b25f7..a72c77e 100644 --- a/services/core/java/com/android/server/location/GpsLocationProvider.java +++ b/services/core/java/com/android/server/location/GpsLocationProvider.java @@ -2012,7 +2012,7 @@ public class GpsLocationProvider implements LocationProviderInterface { intentFilter = new IntentFilter(); intentFilter.addAction(ALARM_WAKEUP); intentFilter.addAction(ALARM_TIMEOUT); - intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION_IMMEDIATE); + intentFilter.addAction(ConnectivityManager.CONNECTIVITY_ACTION); intentFilter.addAction(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED); intentFilter.addAction(Intent.ACTION_SCREEN_OFF); intentFilter.addAction(Intent.ACTION_SCREEN_ON); |