summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumarg@android.com>2013-02-07 10:46:10 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-02-07 10:46:10 -0800
commitb9620a89bd734d749cd162cbcda4699474bbf57a (patch)
treeee017315f765fec74ee04dc7ce4968d56c789409 /services
parent1fd774709790b220bb780e95db7275d60a1eae57 (diff)
parent9434c112d1fef52ade78d7ef818daf981bf63bef (diff)
downloadframeworks_base-b9620a89bd734d749cd162cbcda4699474bbf57a.zip
frameworks_base-b9620a89bd734d749cd162cbcda4699474bbf57a.tar.gz
frameworks_base-b9620a89bd734d749cd162cbcda4699474bbf57a.tar.bz2
am 9434c112: Merge "Services: Adding HSPAP info in Android"
# By Arun Ravindran # Via Gerrit Code Review (1) and Shuo Gao (1) * commit '9434c112d1fef52ade78d7ef818daf981bf63bef': Services: Adding HSPAP info in Android
Diffstat (limited to 'services')
-rw-r--r--services/java/com/android/server/location/GpsLocationProvider.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/java/com/android/server/location/GpsLocationProvider.java b/services/java/com/android/server/location/GpsLocationProvider.java
index c272da4..22c52f4 100644
--- a/services/java/com/android/server/location/GpsLocationProvider.java
+++ b/services/java/com/android/server/location/GpsLocationProvider.java
@@ -1464,7 +1464,8 @@ public class GpsLocationProvider implements LocationProviderInterface {
if (networkType == TelephonyManager.NETWORK_TYPE_UMTS
|| networkType == TelephonyManager.NETWORK_TYPE_HSDPA
|| networkType == TelephonyManager.NETWORK_TYPE_HSUPA
- || networkType == TelephonyManager.NETWORK_TYPE_HSPA) {
+ || networkType == TelephonyManager.NETWORK_TYPE_HSPA
+ || networkType == TelephonyManager.NETWORK_TYPE_HSPAP) {
type = AGPS_REF_LOCATION_TYPE_UMTS_CELLID;
} else {
type = AGPS_REF_LOCATION_TYPE_GSM_CELLID;