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

Commit 38aed955 authored by fionaxu's avatar fionaxu Committed by Nathan Harold
Browse files

correct default signal strength threshold for deviceStateMonitor

default lte signal threshold in DeviceStateMonitor is of out sync
with CarrierConfig. We support 4 boundries not 6 boundries today.

Bug: 110134404
Bug: 119688016
Test: Manual
Merged-In: Ia8e0ef967b8c9d8bd5eae128ce859dfefeaa173f
Change-Id: Ia8e0ef967b8c9d8bd5eae128ce859dfefeaa173f
(cherry picked from commit 3c33c8e6)
parent 5a1eba8b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -620,12 +620,10 @@ public class DeviceStateMonitor extends Handler {
         * These thresholds are taken from the LTE RSRP defaults in {@link CarrierConfigManager}.
         */
        public static final int[] EUTRAN = new int[] {
            -140, /* SIGNAL_STRENGTH_NONE_OR_UNKNOWN */
            -128, /* SIGNAL_STRENGTH_POOR */
            -118, /* SIGNAL_STRENGTH_MODERATE */
            -108, /* SIGNAL_STRENGTH_GOOD */
            -98,  /* SIGNAL_STRENGTH_GREAT */
            -44   /* SIGNAL_STRENGTH_NONE_OR_UNKNOWN */
        };

        /**