Merge "Disable context sync telecom code by default" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
e5257275ae
@@ -31,10 +31,10 @@ public class CompanionDeviceConfig {
|
|||||||
public static final String ENABLE_CONTEXT_SYNC_TELECOM = "enable_context_sync_telecom";
|
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) {
|
public static boolean isEnabled(String flag) {
|
||||||
return DeviceConfig.getBoolean(NAMESPACE_COMPANION, flag, /* defaultValue= */ true);
|
return DeviceConfig.getBoolean(NAMESPACE_COMPANION, flag, /* defaultValue= */ false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user