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

Commit a1af75c8 authored by Nazanin Bakhshi's avatar Nazanin Bakhshi Committed by android-build-merger
Browse files

Merge "Make isRebootRequiredForModemConfigChange SystemApi and set the default...

Merge "Make isRebootRequiredForModemConfigChange SystemApi and set the default as true" am: ab0d6d1c
am: 00093c24

Change-Id: I3241333c368e9895208ce7a0aa89bc97bfc3dcc8
parents 5f369de3 00093c24
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -201,12 +201,12 @@ public class PhoneConfigurationManager {

    /**
     * Get whether reboot is required or not after making changes to modem configurations.
     * Return value defaults to false
     * Return value defaults to true
     */
    public boolean isRebootRequiredForModemConfigChange() {
        String rebootRequired = SystemProperties.get(
                TelephonyProperties.PROPERTY_REBOOT_REQUIRED_ON_MODEM_CHANGE);
        return rebootRequired.equals("true");
        return !rebootRequired.equals("false");
    }

    /**