Commit e8f9becc authored by Vladislav Kaznacheev's avatar Vladislav Kaznacheev Committed by Commit Bot

Hide Android Contacts app in a less disruptive way.

Contacts app is currently filtered out on the container side, which
makes it completely inaccessible to Chrome. However, Contacts
can still show up in system UI (when searching for app shortcuts,
in Shelf when launched through Play Store or an intent).

Bug: b:116356923
Test: set enable-app-shortcut-search, enter "cont" in the search box,
  observe that "Add contact" shortcut is badged with the Contacts icon
  and opens Contacts when clicked.

Change-Id: Id0a108cd08024fd92b779c953c211cafb4445130
Reviewed-on: https://chromium-review.googlesource.com/1246287Reviewed-by: default avatarYury Khmel <khmel@chromium.org>
Commit-Queue: Vladislav Kaznacheev <kaznacheev@chromium.org>
Cr-Commit-Position: refs/heads/master@{#594414}
parent b2800e0f
......@@ -88,11 +88,13 @@ constexpr char kAndroidCameraAppId[] = "goamfaniemdfcajgcmmflhchgkmbngka";
constexpr char kAndroidLegacyCameraAppId[] = "obfofkigjfamlldmipdegnjlcpincibc";
constexpr char kAndroidCameraMigrationAppId[] =
"ngmkobaiicipbagcngcmilfkhejlnfci";
constexpr char kAndroidContactsAppId[] = "kipfkokfekalckplgaikemhghlbkgpfl";
constexpr char const* kAppIdsHiddenInLauncher[] = {
kAndroidClockAppId, kSettingsAppId,
kAndroidFilesAppId, kAndroidCameraAppId,
kAndroidLegacyCameraAppId, kAndroidCameraMigrationAppId};
kAndroidLegacyCameraAppId, kAndroidCameraMigrationAppId,
kAndroidContactsAppId};
// Returns true if |event_flags| came from a mouse or touch event.
bool IsMouseOrTouchEventFromFlags(int event_flags) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment