summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nathalie Le Clair <lcnathalie@google.com> 2023-08-10 15:44:53 +0200
committer Nathalie Le Clair <lcnathalie@google.com> 2023-08-10 14:01:00 +0000
commit0ccf800d88736d42feb2ee163638f109fff05d07 (patch)
tree59f76517b03d94726ab6b75cbf7f1f51e125b199
parentccf60f8cdbbb19624f8ed2febb03bc8b41c6209d (diff)
Set Android U feature flags to true by default
Bug: 294950386 Test: build Change-Id: I51366f686ef0bc1e010c6714f57548e9a9a8ced0
-rw-r--r--services/core/java/com/android/server/hdmi/HdmiControlService.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/services/core/java/com/android/server/hdmi/HdmiControlService.java b/services/core/java/com/android/server/hdmi/HdmiControlService.java
index dd4530731e06..fc8272d9457e 100644
--- a/services/core/java/com/android/server/hdmi/HdmiControlService.java
+++ b/services/core/java/com/android/server/hdmi/HdmiControlService.java
@@ -694,13 +694,13 @@ public class HdmiControlService extends SystemService {
HdmiControlManager.CEC_SETTING_NAME_HDMI_CEC_ENABLED);
mSoundbarModeFeatureFlagEnabled = mDeviceConfig.getBoolean(
- Constants.DEVICE_CONFIG_FEATURE_FLAG_SOUNDBAR_MODE, false);
+ Constants.DEVICE_CONFIG_FEATURE_FLAG_SOUNDBAR_MODE, true);
mEarcTxFeatureFlagEnabled = mDeviceConfig.getBoolean(
- Constants.DEVICE_CONFIG_FEATURE_FLAG_ENABLE_EARC_TX, false);
+ Constants.DEVICE_CONFIG_FEATURE_FLAG_ENABLE_EARC_TX, true);
mTransitionFromArcToEarcTxEnabled = mDeviceConfig.getBoolean(
- Constants.DEVICE_CONFIG_FEATURE_FLAG_TRANSITION_ARC_TO_EARC_TX, false);
+ Constants.DEVICE_CONFIG_FEATURE_FLAG_TRANSITION_ARC_TO_EARC_TX, true);
mNumericSoundbarVolumeUiOnTvFeatureFlagEnabled = mDeviceConfig.getBoolean(
- Constants.DEVICE_CONFIG_FEATURE_FLAG_TV_NUMERIC_SOUNDBAR_VOLUME_UI, false);
+ Constants.DEVICE_CONFIG_FEATURE_FLAG_TV_NUMERIC_SOUNDBAR_VOLUME_UI, true);
synchronized (mLock) {
mEarcEnabled = (mHdmiCecConfig.getIntValue(
@@ -857,7 +857,7 @@ public class HdmiControlService extends SystemService {
public void onPropertiesChanged(DeviceConfig.Properties properties) {
mEarcTxFeatureFlagEnabled = properties.getBoolean(
Constants.DEVICE_CONFIG_FEATURE_FLAG_ENABLE_EARC_TX,
- false);
+ true);
boolean earcEnabledSetting = mHdmiCecConfig.getIntValue(
HdmiControlManager.SETTING_NAME_EARC_ENABLED)
== EARC_FEATURE_ENABLED;
@@ -891,7 +891,7 @@ public class HdmiControlService extends SystemService {
public void onPropertiesChanged(DeviceConfig.Properties properties) {
mSoundbarModeFeatureFlagEnabled = properties.getBoolean(
Constants.DEVICE_CONFIG_FEATURE_FLAG_SOUNDBAR_MODE,
- false);
+ true);
boolean soundbarModeSetting = mHdmiCecConfig.getIntValue(
HdmiControlManager.CEC_SETTING_NAME_SOUNDBAR_MODE)
== SOUNDBAR_MODE_ENABLED;
@@ -917,7 +917,7 @@ public class HdmiControlService extends SystemService {
public void onPropertiesChanged(DeviceConfig.Properties properties) {
mTransitionFromArcToEarcTxEnabled = properties.getBoolean(
Constants.DEVICE_CONFIG_FEATURE_FLAG_TRANSITION_ARC_TO_EARC_TX,
- false);
+ true);
}
});
@@ -927,7 +927,7 @@ public class HdmiControlService extends SystemService {
public void onPropertiesChanged(DeviceConfig.Properties properties) {
mNumericSoundbarVolumeUiOnTvFeatureFlagEnabled = properties.getBoolean(
Constants.DEVICE_CONFIG_FEATURE_FLAG_TV_NUMERIC_SOUNDBAR_VOLUME_UI,
- false);
+ true);
checkAndUpdateAbsoluteVolumeBehavior();
}
});