Dominick, can you please take a look? https://codereview.chromium.org/2721203004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java File chrome/android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java (left): https://codereview.chromium.org/2721203004/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java#oldcode202 chrome/android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java:202: Toast.LENGTH_SHORT); I ...
3 years, 9 months ago
(2017-03-02 01:37:50 UTC)
#3
Dominick, can you please take a look?
https://codereview.chromium.org/2721203004/diff/20001/chrome/android/java/src...
File
chrome/android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java
(left):
https://codereview.chromium.org/2721203004/diff/20001/chrome/android/java/src...
chrome/android/java/src/org/chromium/chrome/browser/infobar/AppBannerInfoBarDelegateAndroid.java:202:
Toast.LENGTH_SHORT);
I am purposefully not deleting the resource. I am going to bring this function
back in a CL that I will post in a few hours.
We want to display this toast if the request to Google Play to install the
WebAPK times out. If the play request times out it is possible that the WebAPK
install is delayed (e.g. because play is updating) We want to avoid the
situation of a user having two homescreen shortcuts. A WebAPK shortcut and a
webapp shortcut
dominickn
https://codereview.chromium.org/2721203004/diff/20001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc File chrome/browser/android/banners/app_banner_infobar_delegate_android.cc (right): https://codereview.chromium.org/2721203004/diff/20001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc#newcode378 chrome/browser/android/banners/app_banner_infobar_delegate_android.cc:378: if (!success) { I wonder whether it's cleaner to ...
3 years, 9 months ago
(2017-03-02 01:56:50 UTC)
#4
Dominick, can you please take another look? https://codereview.chromium.org/2721203004/diff/20001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc File chrome/browser/android/banners/app_banner_infobar_delegate_android.cc (right): https://codereview.chromium.org/2721203004/diff/20001/chrome/browser/android/banners/app_banner_infobar_delegate_android.cc#newcode378 chrome/browser/android/banners/app_banner_infobar_delegate_android.cc:378: if (!success) ...
3 years, 9 months ago
(2017-03-02 04:09:42 UTC)
#5
CQ is committing da patch. Bot data: {"patchset_id": 60001, "attempt_start_ts": 1488432261969790, "parent_rev": "eecb9420efdea1d6c4e882a85e1de607ed317781", "commit_rev": "2b338ea073b62cbd75b0a9971a3e126c81847f35"}
3 years, 9 months ago
(2017-03-02 08:20:45 UTC)
#13
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1488432261969790,
"parent_rev": "eecb9420efdea1d6c4e882a85e1de607ed317781", "commit_rev":
"2b338ea073b62cbd75b0a9971a3e126c81847f35"}
commit-bot: I haz the power
Description was changed from ========== Add webapp homescreen shortcut when WebAPK install fails In the ...
3 years, 9 months ago
(2017-03-02 08:21:26 UTC)
#14
Message was sent while issue was closed.
Description was changed from
==========
Add webapp homescreen shortcut when WebAPK install fails
In the unlikely case that the WebAPK install fails, create a webapp homescreen
shortcut instead. This way, the "Add to Homescreen" menu item in the app menu
will "do something" for all users.
BUG=696132
==========
to
==========
Add webapp homescreen shortcut when WebAPK install fails
In the unlikely case that the WebAPK install fails, create a webapp homescreen
shortcut instead. This way, the "Add to Homescreen" menu item in the app menu
will "do something" for all users.
BUG=696132
Review-Url: https://codereview.chromium.org/2721203004
Cr-Commit-Position: refs/heads/master@{#454210}
Committed:
https://chromium.googlesource.com/chromium/src/+/2b338ea073b62cbd75b0a9971a3e...
==========
commit-bot: I haz the power
Committed patchset #3 (id:60001) as https://chromium.googlesource.com/chromium/src/+/2b338ea073b62cbd75b0a9971a3e126c81847f35
3 years, 9 months ago
(2017-03-02 08:21:28 UTC)
#15
Issue 2721203004: Add webapp homescreen shortcut when WebAPK install fails
(Closed)
Created 3 years, 9 months ago by pkotwicz
Modified 3 years, 9 months ago
Reviewers: dominickn, gone
Base URL:
Comments: 7