Skip to content

Commit

Permalink
[Default Apps] Add ARC app ID of Youtube Music.
Browse files Browse the repository at this point in the history
Add the ARC app ID of Youtube Music so that the promise icon will be placed
correctly. Update the order of the Youtube Music web app order.

Bug: 1099140
Change-Id: Icd52e96de333a3582fac6f528440360ce4dde42e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275367
Auto-Submit: Jeevan Shikaram <jshikaram@chromium.org>
Commit-Queue: Dominick Ng <dominickn@chromium.org>
Reviewed-by: Dominick Ng <dominickn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#783842}
  • Loading branch information
jeevan-shikaram authored and Commit Bot committed Jun 30, 2020
1 parent 2f8e4bd commit 7ca3ce6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chrome/browser/chromeos/extensions/default_app_order.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,12 @@ const char* const kDefaultAppOrder[] = {
arc::kGoogleCalendarAppId,
extension_misc::kYoutubeAppId,
arc::kYoutubeAppId,
arc::kYoutubeMusicAppId, // Youtube Music ARC app
default_web_apps::kYoutubeMusicAppId, // Youtube Music Web app
arc::kPlayMoviesAppId, // Play Movies & TV ARC app
extension_misc::kGooglePlayMoviesAppId, // Play Movies & TV Chrome app
arc::kPlayMusicAppId, // Play Music ARC app
extension_misc::kGooglePlayMusicAppId, // Play Music Chrome app
default_web_apps::kYoutubeMusicAppId,
arc::kPlayGamesAppId,
arc::kPlayBooksAppId, // Play Books ARC app
extension_misc::kGooglePlayBooksAppId, // Play Books Chrome app
Expand Down
1 change: 1 addition & 0 deletions chrome/browser/ui/app_list/arc/arc_app_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ const char kPlayMusicAppId[] = "ophbaopahelaolbjliokocojjbgfadfn";
const char kPlayStoreAppId[] = "cnbgggchhmkkdmeppjobngjoejnihlei";
const char kSettingsAppId[] = "mconboelelhjpkbdhhiijkgcimoangdj";
const char kYoutubeAppId[] = "aniolghapcdkoolpkffememnhpphmjkl";
const char kYoutubeMusicAppId[] = "hpdkdmlckojaocbedhffglopeafcgggc";

bool ShouldShowInLauncher(const std::string& app_id) {
for (auto* const id : kAppIdsHiddenInLauncher) {
Expand Down
1 change: 1 addition & 0 deletions chrome/browser/ui/app_list/arc/arc_app_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ extern const char kPlayMusicAppId[];
extern const char kPlayStoreAppId[];
extern const char kSettingsAppId[];
extern const char kYoutubeAppId[];
extern const char kYoutubeMusicAppId[];

// Represents unparsed intent.
class Intent {
Expand Down

0 comments on commit 7ca3ce6

Please sign in to comment.