Merge "Update signal strength mapping for GSM/UMTS."
This commit is contained in:
@@ -991,10 +991,10 @@ public class StatusBarPolicy {
|
||||
// asu = 0 (-113dB or less) is very weak
|
||||
// signal, its better to show 0 bars to the user in such cases.
|
||||
// asu = 99 is a special case, where the signal strength is unknown.
|
||||
if (asu <= 0 || asu == 99) iconLevel = 0;
|
||||
else if (asu >= 16) iconLevel = 4;
|
||||
if (asu <= 2 || asu == 99) iconLevel = 0;
|
||||
else if (asu >= 12) iconLevel = 4;
|
||||
else if (asu >= 8) iconLevel = 3;
|
||||
else if (asu >= 4) iconLevel = 2;
|
||||
else if (asu >= 5) iconLevel = 2;
|
||||
else iconLevel = 1;
|
||||
|
||||
// Though mPhone is a Manager, this call is not an IPC
|
||||
|
||||
Reference in New Issue
Block a user