🤝 Remove New Document flag from TWA launch intents.

Launch Intents from TWA notifications were launched with the
FLAG_ACTIVITY_NEW_DOCUMENT flag. This resulted in a new Android Task
being created if the Uri being launched did not match the Uri used
to launch any of the existing Tasks. Since launching a TWA from the
Android Launcher wouldn't include a Uri, this practically meant that
opening a page from the notification would launch a new instance of
the TWA.

Bug: 965435
Change-Id: I0921e147d777a4c6320e17284be432bf9dab868e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1621168
Reviewed-by: Pavel Shmakov <pshmakov@chromium.org>
Commit-Queue: Peter Conn <peconn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662097}
1 file changed