diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2017-07-11 07:27:20 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-07-11 07:27:20 +0000 |
commit | 4f79052e45a25e050bddab6b5af5a1b5f6037637 (patch) | |
tree | e2062f368028647ebf7c7c7a04fecb6ddad84913 | |
parent | e8c17261ed0c69ae0be25a50a5d4cb6326787a61 (diff) | |
parent | 35afd645373ee61324101f3a43dcaa0992fea95d (diff) | |
download | android_hardware_ril-4f79052e45a25e050bddab6b5af5a1b5f6037637.tar.gz android_hardware_ril-4f79052e45a25e050bddab6b5af5a1b5f6037637.tar.bz2 android_hardware_ril-4f79052e45a25e050bddab6b5af5a1b5f6037637.zip |
release-request-4187064f-0db5-4580-98e6-42bffb78ab3d-for-git_oc-dr1-release-4169298 snap-temp-L64000000081126278
Change-Id: Ifca25d5941983eafe1cf0ed0ccae6727ce06d28d
-rw-r--r-- | libril/ril_service.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libril/ril_service.cpp b/libril/ril_service.cpp index 308955a..bd21ba5 100644 --- a/libril/ril_service.cpp +++ b/libril/ril_service.cpp @@ -3631,9 +3631,10 @@ void fillCellIdentityFromVoiceRegStateResponseString(CellIdentity &cellIdentity, case RIL_CELL_INFO_TYPE_CDMA:{ rilCellIdentity.cellIdentityCdma.basestationId = convertResponseStringEntryToInt(response, 4, numStrings); - rilCellIdentity.cellIdentityCdma.longitude = - convertResponseStringEntryToInt(response, 5, numStrings); + /* Order of Lat. and Long. swapped between RIL and HIDL interface versions. */ rilCellIdentity.cellIdentityCdma.latitude = + convertResponseStringEntryToInt(response, 5, numStrings); + rilCellIdentity.cellIdentityCdma.longitude = convertResponseStringEntryToInt(response, 6, numStrings); rilCellIdentity.cellIdentityCdma.systemId = convertResponseStringEntryToInt(response, 8, numStrings); |