Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(952)

Unified Diff: chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc

Issue 2111733002: arc: Handle closing OptIn window for managed Arc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comilation error Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc
diff --git a/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc b/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc
index 12f0c3451c09c7c9e038d109e7bcb93dc3c5245e..d123de095c84ff9aaa3538fb5e25f33f93a0d40a 100644
--- a/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc
+++ b/chrome/browser/ui/ash/launcher/arc_playstore_shortcut_launcher_item_controller.cc
@@ -29,8 +29,7 @@ ArcPlaystoreShortcutLauncherItemController::Activate(ash::LaunchSource source) {
DCHECK(arc_app_prefs);
DCHECK(auth_service->IsAllowed());
- if (!auth_service->IsArcEnabled())
- auth_service->EnableArc();
+ auth_service->EnableArc();
// Deferred launcher.
if (arc_app_prefs->IsRegistered(arc::kPlayStoreAppId)) {

Powered by Google App Engine
This is Rietveld 408576698