Fix task creation check in ArcKioskAppService.

OnTaskCreated()'s intent parameter has slightly more information
than in AppInfo.
Due to that check existence, task_id_ was never remembered and
the kiosk app was not restarted on crash/termination.
This change won't negatively affect ARC Kiosk functionality as starting
by an intent is not supported anyway.

BUG=812594
BUG=811398

Test=Manual, check that app is properly restarted after termination.

Change-Id: I51523545833744aebc1f1c7dfe9c7aacf7414484
Reviewed-on: https://chromium-review.googlesource.com/922101
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Sergey Poromov <poromov@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#537056}(cherry picked from commit 00348304f519c4e971cba761b67e23b900c311d6)
Reviewed-on: https://chromium-review.googlesource.com/927241
Reviewed-by: Sergey Poromov <poromov@chromium.org>
Cr-Commit-Position: refs/branch-heads/3325@{#511}
Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369}
diff --git a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
index e276ed7..d7452e2a 100644
--- a/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
+++ b/chrome/browser/chromeos/app_mode/arc/arc_kiosk_app_service.cc
@@ -73,7 +73,7 @@
                                        const std::string& intent) {
   // Store task id of the app to stop it later when needed.
   if (app_info_ && package_name == app_info_->package_name &&
-      activity == app_info_->activity && intent == app_info_->intent_uri) {
+      activity == app_info_->activity) {
     task_id_ = task_id;
     if (delegate_)
       delegate_->OnAppStarted();