[go: nahoru, domu]

[Phone Hub][Eche] Cleanup usage of Jelly flag

Flag cleanup now that Jelly has launched.

After Video:
https://drive.google.com/file/d/1_thOHsLSrs_lrsUf_lx9bEuwyq9Gj_ms/view?usp=sharing&resourcekey=0-P7ey3MuGEqFPClOahDcOhg

Test: Manually verified no UI regressions, video provided.
Bug: b/281844561, b/322067753
Fixed: b/297056011
Change-Id: I67204757b0a9f0ff060874b039142bfdfe40092f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5246745
Reviewed-by: Jon Mann <jonmann@chromium.org>
Reviewed-by: Pu Shi <pushi@google.com>
Commit-Queue: Crisrael Lucero <crisrael@google.com>
Cr-Commit-Position: refs/heads/main@{#1253515}
diff --git a/ash/system/phonehub/onboarding_view.cc b/ash/system/phonehub/onboarding_view.cc
index 8890eb9..f46f4780 100644
--- a/ash/system/phonehub/onboarding_view.cc
+++ b/ash/system/phonehub/onboarding_view.cc
@@ -28,7 +28,6 @@
 #include "base/memory/raw_ptr.h"
 #include "base/strings/strcat.h"
 #include "chromeos/ash/components/phonehub/onboarding_ui_tracker.h"
-#include "chromeos/constants/chromeos_features.h"
 #include "ui/base/l10n/l10n_util.h"
 #include "ui/base/metadata/metadata_impl_macros.h"
 #include "ui/base/resource/resource_bundle.h"
@@ -83,9 +82,7 @@
                             base::Unretained(this)),
         l10n_util::GetStringUTF16(
             IDS_ASH_PHONE_HUB_ONBOARDING_DIALOG_GET_STARTED_BUTTON),
-        chromeos::features::IsJellyrollEnabled()
-            ? PillButton::Type::kPrimaryWithoutIcon
-            : PillButton::Type::kDefaultWithoutIcon,
+        PillButton::Type::kPrimaryWithoutIcon,
         /*icon=*/nullptr);
     get_started->SetID(PhoneHubViewID::kOnboardingGetStartedButton);
     AddButton(std::move(get_started));