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

Commit 9c2c0fef authored by Xiangyu/Malcolm Chen's avatar Xiangyu/Malcolm Chen
Browse files

Revert "By default, turn on signal strength update in power save mode."

This reverts commit ddab5bc9.

Reason for revert:
No need for a config. We don't ever want to disable signal strength update in power save mode.

Bug: 69644626
Change-Id: Ief03746ead49e12ec29dc9255f855d78fa35753e
parent ddab5bc9
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -208,11 +208,8 @@ public class DeviceStateMonitor extends Handler {
     * @return True if signal strength update should be turned off.
     */
    private boolean shouldTurnOffSignalStrength() {
        // Depending on the configuration, we might not want to get signal strength update
        // when the device is in power save mode.
        if (mIsPowerSaveOn && mPhone.getContext().getResources().getBoolean(
                com.android.internal.R.bool
                    .config_disable_signal_strength_update_in_powersave_mode)) {
        // We don't want to get signal strength update when the device is in power save mode.
        if (mIsPowerSaveOn) {
            return true;
        }