From 418fc9541f0351f98e2895128b86ac59576100d4 Mon Sep 17 00:00:00 2001 From: Li-Yu Yu Date: Wed, 23 Oct 2024 18:24:06 +0800 Subject: [PATCH] features: Remove CrOSLateBootAudioSuppressSetRTCAudioActive BUG=b:330210946 TEST=bazel test //... Change-Id: I6cb7a71949df23ba60a8da598ddd36a9526e1c25 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5956088 Auto-Submit: Li-Yu Yu Reviewed-by: Yu-Hsuan Hsu Commit-Queue: Yu-Hsuan Hsu Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com --- cras/server/platform/features/features.inc | 1 - cras/src/server/cras_dbus_control.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/cras/server/platform/features/features.inc b/cras/server/platform/features/features.inc index 2f3f04e12..89b282127 100644 --- a/cras/server/platform/features/features.inc +++ b/cras/server/platform/features/features.inc @@ -12,7 +12,6 @@ DEFINE_FEATURE(CrOSLateBootAudioAPNoiseCancellation, false) DEFINE_FEATURE(CrOSLateBootAudioStyleTransfer, true) DEFINE_FEATURE(CrOSLateBootAudioA2DPAdvancedCodecs, false) DEFINE_FEATURE(CrOSLateBootAudioEmptyAPMForCrasProcessor, true) -DEFINE_FEATURE(CrOSLateBootAudioSuppressSetRTCAudioActive, false) DEFINE_FEATURE(CrOSLateBootAudioOffloadCrasDSPToSOF, false) DEFINE_FEATURE(CrOSLateBootCrasProcessorDedicatedThread, true) DEFINE_FEATURE(CrOSLateBootCrasProcessorWavDump, false) diff --git a/cras/src/server/cras_dbus_control.c b/cras/src/server/cras_dbus_control.c index 8677824e3..d6a68d7fd 100644 --- a/cras/src/server/cras_dbus_control.c +++ b/cras/src/server/cras_dbus_control.c @@ -205,10 +205,6 @@ void cras_dbus_notify_rtc_active(bool active) { DBusMessage* msg; int active_val = !!active; - if (cras_feature_enabled(CrOSLateBootAudioSuppressSetRTCAudioActive)) { - return; - } - if (!dbus_control.conn) { syslog(LOG_WARNING, "%s: cras dbus connection not ready yet.", __func__); return;