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

Commit ab0d6d1c authored by Nazanin Bakhshi's avatar Nazanin Bakhshi Committed by Gerrit Code Review
Browse files

Merge "Make isRebootRequiredForModemConfigChange SystemApi and set the default as true"

parents b4d55f76 3e234459
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");
    }

    /**