[Android:WebAPK] Don't add webapp to homescreen if WebAPK install times out part 1/3
Chrome considers a install as "failed" if Google Play does not finish the
install within 3 minutes. It is possible for the install to take more time
if Google Play is busy with another install. When an install fails we add a
webapp shortcut to the homescreen.
This CL changes the logic so that a webapp shortcut is not added to the
homescreen if the WebAPK install times out. It would be confusing for the
user to end up with two shortcuts with the same icon on their homescreen:
- one for a WebAPK
- one for a webapp
BUG=
696132
Review-Url:
https://codereview.chromium.org/2733543002
Cr-Commit-Position: refs/heads/master@{#457193}
Committed:
https://chromium.googlesource.com/chromium/src/+/67dd4e7e82a41fef1e90f489f4b5e91ea5179c66