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

Issue 2210143003: arc: Handle non-launchable apps. (Closed)

Created:
4 years, 4 months ago by khmel
Modified:
4 years, 4 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), elijahtaylor+arcwatch_chromium.org, hidehiko+watch_chromium.org, kalyank, lhchavez+watch_chromium.org, Matt Giuca, qsr+mojo_chromium.org, sadrul, tapted, tfarina, viettrungluu+watch_chromium.org, yusukes+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Handle non-launchable apps. There are Android apps that can be started indirectly and which don't have launchable flag. We had no support such apps in Chrome and that caused incorrect behavior in shelf. Fix is to register such apps on creation with special flag that prevents them to appear in launcher app list and to be pinned in shelf. BUG=635536 BUG=b/30508435 TEST=Manually on device. Icon of an app (app info) appears on the shelf and cannot be pinned. No app info icon in app list. TEST=Extended unit_test Committed: https://crrev.com/25bc1656ca1b11876bbc3a8407c13ebe6c88b7ab Cr-Commit-Position: refs/heads/master@{#411120}

Patch Set 1 #

Patch Set 2 : comment fixed #

Total comments: 4

Patch Set 3 : rebased/nits #

Patch Set 4 : rebase + simplify mojo declaration #

Total comments: 1

Patch Set 5 : add ordinals to mojo #

Patch Set 6 : fix unit_tests due rebase and mojo param order change - trivial #

Unified diffs Side-by-side diffs Delta from patch set Stats (+125 lines, -20 lines) Patch
M chrome/browser/ui/app_list/arc/arc_app_list_prefs.h View 1 2 3 5 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc View 1 2 3 14 chunks +37 lines, -11 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_unittest.cc View 1 2 3 4 5 1 chunk +23 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_utils.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/arc_launcher_context_menu.cc View 2 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_context_menu_unittest.cc View 2 chunks +16 lines, -1 line 0 comments Download
M components/arc/common/app.mojom View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M components/arc/test/fake_app_instance.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/arc/test/fake_app_instance.cc View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 29 (12 generated)
khmel
Hi Xiyuan, PTAL
4 years, 4 months ago (2016-08-04 17:02:41 UTC) #2
xiyuan
lgtm https://codereview.chromium.org/2210143003/diff/20001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h File chrome/browser/ui/app_list/arc/arc_app_list_prefs.h (right): https://codereview.chromium.org/2210143003/diff/20001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h#newcode232 chrome/browser/ui/app_list/arc/arc_app_list_prefs.h:232: void OnTaskCreatedDepricated(int32_t task_id, nit: OnTaskCreatedDepricated -> OnTaskCreatedDeprecated https://codereview.chromium.org/2210143003/diff/20001/chrome/browser/ui/app_list/arc/arc_app_utils.cc ...
4 years, 4 months ago (2016-08-05 17:39:39 UTC) #3
khmel
Thanks Xiyuan for review. +dcheng@ (components/arc/common/app.mojom) +oshima@ (chrome/browser/ui/ash) +elijahtaylor@ (components/arc/test/fake_app_instance) PTAL https://codereview.chromium.org/2210143003/diff/20001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.h File chrome/browser/ui/app_list/arc/arc_app_list_prefs.h (right): ...
4 years, 4 months ago (2016-08-05 18:28:35 UTC) #4
khmel
PTAL
4 years, 4 months ago (2016-08-05 19:54:26 UTC) #6
khmel
+rickyz@ once dcheng is OOO for long time
4 years, 4 months ago (2016-08-05 19:59:03 UTC) #8
oshima
lgtm does this have to be merged to 53? If so, please file crbug so ...
4 years, 4 months ago (2016-08-05 23:16:41 UTC) #9
khmel
Luis is back and I can address changes (in component/arc/tests at least) instead of Elijah. ...
4 years, 4 months ago (2016-08-08 14:55:37 UTC) #12
rickyz (no longer on Chrome)
mojom lgtm
4 years, 4 months ago (2016-08-09 01:34:16 UTC) #13
khmel
Thanks Luis for idea to simplify mojo declaration. PTAL
4 years, 4 months ago (2016-08-10 16:42:33 UTC) #14
khmel
Thanks Luis for idea to simplify mojo declaration. PTAL
4 years, 4 months ago (2016-08-10 16:42:36 UTC) #15
rickyz (no longer on Chrome)
mojom still lgtm, thanks
4 years, 4 months ago (2016-08-10 17:34:19 UTC) #16
Luis Héctor Chávez
lgtm with a nit https://codereview.chromium.org/2210143003/diff/60001/components/arc/common/app.mojom File components/arc/common/app.mojom (right): https://codereview.chromium.org/2210143003/diff/60001/components/arc/common/app.mojom#newcode94 components/arc/common/app.mojom:94: [MinVersion=4] OnTaskCreated@4(int32 task_id, FYI: I ...
4 years, 4 months ago (2016-08-10 17:48:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2210143003/80001
4 years, 4 months ago (2016-08-10 18:01:36 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/258715)
4 years, 4 months ago (2016-08-10 18:26:04 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2210143003/100001
4 years, 4 months ago (2016-08-10 19:03:27 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 4 months ago (2016-08-10 19:44:08 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 19:45:37 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/25bc1656ca1b11876bbc3a8407c13ebe6c88b7ab
Cr-Commit-Position: refs/heads/master@{#411120}

Powered by Google App Engine
This is Rietveld 408576698