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

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

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

am: ab0d6d1c

Change-Id: I164bebc05f18235b82c3e7f9095828da53ad0099
parents 43fd63d9 ab0d6d1c
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");
    }

    /**