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

Commit 81831a89 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "By default, turn on signal strength update in power save mode." into pi-dev

parents f132adcf ddab5bc9
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -208,8 +208,11 @@ public class DeviceStateMonitor extends Handler {
     * @return True if signal strength update should be turned off.
     */
    private boolean shouldTurnOffSignalStrength() {
        // We don't want to get signal strength update when the device is in power save mode.
        if (mIsPowerSaveOn) {
        // 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)) {
            return true;
        }