Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef905c86 authored by jsh's avatar jsh Committed by Android (Google) Code Review
Browse files

Merge "Update signal strength mapping for GSM/UMTS."

parents 0c659fea ee63e479
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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