Merge "Telephony: Corrections to signal strength values." into honeycomb-LTE
This commit is contained in:
@@ -424,8 +424,8 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker {
|
|||||||
: -1;
|
: -1;
|
||||||
if (networkType == ServiceState.RADIO_TECHNOLOGY_LTE) {
|
if (networkType == ServiceState.RADIO_TECHNOLOGY_LTE) {
|
||||||
lteRssi = (ints[offset + 5] >= 0) ? ints[offset + 5] : 99;
|
lteRssi = (ints[offset + 5] >= 0) ? ints[offset + 5] : 99;
|
||||||
lteRsrp = (ints[offset + 6] > 0) ? -ints[offset + 7] : -1;
|
lteRsrp = (ints[offset + 6] < 0) ? ints[offset + 6] : -1;
|
||||||
lteCqi = (ints[offset + 7] >= 0) ? ints[offset + 6] : 99;
|
lteCqi = (ints[offset + 7] >= 0) ? ints[offset + 7] : 99;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (networkType != ServiceState.RADIO_TECHNOLOGY_LTE) {
|
if (networkType != ServiceState.RADIO_TECHNOLOGY_LTE) {
|
||||||
|
|||||||
Reference in New Issue
Block a user