Index: chrome/browser/ui/webui/options/browser_options_handler.cc |
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc |
index 95d404da14ba44b8d29f16ed1e2a524a4ceafa74..f1ac3307d6df85115c341e962bc8cfd59b0b53d2 100644 |
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc |
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc |
@@ -1224,11 +1224,10 @@ void BrowserOptionsHandler::InitializePage() { |
if (arc::IsArcAllowedForProfile(profile) && |
!arc::IsArcOptInVerificationDisabled()) { |
- base::FundamentalValue is_arc_enabled( |
+ base::FundamentalValue is_play_enabled( |
arc::ArcSessionManager::Get()->IsArcPlayStoreEnabled()); |
web_ui()->CallJavascriptFunctionUnsafe( |
- "BrowserOptions.showAndroidAppsSection", |
- is_arc_enabled); |
+ "BrowserOptions.showAndroidAppsSection", is_play_enabled); |
// Get the initial state of Android Settings app readiness. |
std::unique_ptr<ArcAppListPrefs::AppInfo> app_info = |
ArcAppListPrefs::Get(profile)->GetApp(arc::kSettingsAppId); |