Enable Low Power Standby policy & standby ports features by default

Test: atest LowPowerStandbyControllerTest
Bug: 290750316
Change-Id: If109365ebc818c6b3591ce775681a4d18afaca14
This commit is contained in:
Robert Horvath
2023-07-12 11:26:01 +02:00
parent 52b3af4e77
commit 2317f98b40

View File

@@ -1369,7 +1369,7 @@ public class LowPowerStandbyController {
* Otherwise, returns false, and the default policy will be used.
*/
public boolean enableCustomPolicy() {
return DeviceConfig.getBoolean(NAMESPACE, FEATURE_FLAG_ENABLE_POLICY, false);
return DeviceConfig.getBoolean(NAMESPACE, FEATURE_FLAG_ENABLE_POLICY, true);
}
/**
@@ -1377,7 +1377,7 @@ public class LowPowerStandbyController {
* Otherwise, returns false, and {@link #getActiveStandbyPorts()} will always be empty.
*/
public boolean enableStandbyPorts() {
return DeviceConfig.getBoolean(NAMESPACE, FEATURE_FLAG_ENABLE_STANDBY_PORTS, false);
return DeviceConfig.getBoolean(NAMESPACE, FEATURE_FLAG_ENABLE_STANDBY_PORTS, true);
}
/**