Index: chrome/browser/ui/app_list/arc/arc_app_unittest.cc |
diff --git a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc |
index b43abf54f145d22ebee1152047dce315a11df740..c72110be9266834b5876fdf0d31117ed3a98156a 100644 |
--- a/chrome/browser/ui/app_list/arc/arc_app_unittest.cc |
+++ b/chrome/browser/ui/app_list/arc/arc_app_unittest.cc |
@@ -192,6 +192,8 @@ class ArcAppModelBuilderTest : public AppListTestBase { |
} |
+ AppListControllerDelegate* controller() { return controller_.get(); } |
+ |
arc::FakeArcBridgeService* bridge_service() { return bridge_service_.get(); } |
const std::vector<arc::AppInfo>& fake_apps() const { return fake_apps_; } |
@@ -270,6 +272,9 @@ TEST_F(ArcAppModelBuilderTest, StopServiceDisablesApps) { |
} |
TEST_F(ArcAppModelBuilderTest, LaunchApps) { |
+ // Disable attempts to dismiss app launcher view. |
+ ChromeAppListItem::OverrideAppListControllerDelegateForTesting(controller()); |
+ |
bridge_service()->SetReady(); |
bridge_service()->SendRefreshAppList(fake_apps()); |