| Index: ios/chrome/browser/experimental_flags.mm
|
| diff --git a/ios/chrome/browser/experimental_flags.mm b/ios/chrome/browser/experimental_flags.mm
|
| index fa9b1f13324d0dc928d529da88f7877577884842..ed01320d51f60773791fbbf036abbd862ec71664 100644
|
| --- a/ios/chrome/browser/experimental_flags.mm
|
| +++ b/ios/chrome/browser/experimental_flags.mm
|
| @@ -187,17 +187,7 @@ bool IsPaymentRequestEnabled() {
|
|
|
| bool IsSpotlightActionsEnabled() {
|
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| - if (command_line->HasSwitch(switches::kEnableSpotlightActions)) {
|
| - return true;
|
| - } else if (command_line->HasSwitch(switches::kDisableSpotlightActions)) {
|
| - return false;
|
| - }
|
| -
|
| - // Check if the finch experiment is turned on.
|
| - std::string group_name =
|
| - base::FieldTrialList::FindFullName("SpotlightActionsEnabled");
|
| - return base::StartsWith(group_name, "Enabled",
|
| - base::CompareCase::INSENSITIVE_ASCII);
|
| + return !command_line->HasSwitch(switches::kDisableSpotlightActions);
|
| }
|
|
|
| } // namespace experimental_flags
|
|
|