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

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

Merge "Disable context sync telecom code by default" into udc-dev

parents 4d859e7b 97a17efb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -31,10 +31,10 @@ public class CompanionDeviceConfig {
    public static final String ENABLE_CONTEXT_SYNC_TELECOM = "enable_context_sync_telecom";

    /**
     * Returns whether the given flag is currently enabled, with a default value of {@code true}.
     * Returns whether the given flag is currently enabled, with a default value of {@code false}.
     */
    public static boolean isEnabled(String flag) {
        return DeviceConfig.getBoolean(NAMESPACE_COMPANION, flag, /* defaultValue= */ true);
        return DeviceConfig.getBoolean(NAMESPACE_COMPANION, flag, /* defaultValue= */ false);
    }

    /**