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

Commit 3e234459 authored by Nazanin Bakhshi's avatar Nazanin Bakhshi
Browse files

Make isRebootRequiredForModemConfigChange SystemApi

and set the default as true

Bug: 124074656
Bug: 124115914
Test: build
Change-Id: I924a8a6b1dcda59ebb743bcadb28f673f207f5c6
parent a9b5a3eb
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");
    }

    /**