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

Commit 3c33c8e6 authored by fionaxu's avatar fionaxu Committed by Chen Xu
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
Test: Manual
Change-Id: Ia8e0ef967b8c9d8bd5eae128ce859dfefeaa173f
parent 99101445
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 */
        };

        /**