commit | 1f4e8f743640a0a29ea2e8025c7071d51f689621 | [log] [tgz] |
---|---|---|
author | Brandon Wylie <wylieb@chromium.org> | Tue Jun 11 18:29:35 2019 |
committer | Brandon Wylie <wylieb@chromium.org> | Tue Jun 11 18:29:35 2019 |
tree | fce9585f4ad614391c5580c069a63414baf6e06b | |
parent | 5b0db84bafb0355a9b562babcb2486f0ae026593 [diff] |
[Touchless] Don't show PWAs on the last tab button We can detect if a site in Chrome history is from a PWA launched through webapk by: * Constructing an intent with the URL of the site. * Using the queryIntentActivities method to check what intents launched the given URL. * Check if the intents that launched the URL have the webapk class name "org.chromium.webapk.shell_apk". (cherry picked from commit 48877c8a1a8c7754ce664feaeed4bb6a349c0a06) Bug: 968570 Change-Id: Ia3a51976f1876d3f21cddaf8c3ee34e34cee6f94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1646138 Commit-Queue: Brandon Wylie <wylieb@chromium.org> Reviewed-by: Pavel Yatsuk <pavely@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#666803} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1652219 Reviewed-by: Brandon Wylie <wylieb@chromium.org> Cr-Commit-Position: refs/branch-heads/3809@{#231} Cr-Branched-From: d82dec1a818f378c464ba307ddd9c92133eac355-refs/heads/master@{#665002}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .