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

This commit is contained in:
TreeHugger Robot
2023-05-08 20:50:27 +00:00
committed by Android (Google) Code Review

View File

@@ -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);
}
/**