Chromium Code Reviews
DescriptionFall back to legacy add to homescreen behavior on non-GMS device or GMS isn't availabe.
In WebApkInstaller, we only checks whether the Google Play install
delegate is aviable before calling Google Play's install API. If it
is a non-GMS device, or user failed to connect to Google Play Service
due to Play service is updating or service is disabled ect., the
install would fail.
In this CL we add an additional check of whether we can use Google
Play Service sucessfully on the device. For all the failure cases,
we will fall back to legacy A2HS even when the play_install flag is on.
BUG=679798
Review-Url: https://codereview.chromium.org/2634173002
Cr-Commit-Position: refs/heads/master@{#444365}
Committed: https://chromium.googlesource.com/chromium/src/+/b3c97c14c8f3918440ec8f6ff5f51d03e2284f7e
Patch Set 1 #
Total comments: 2
Patch Set 2 : Nits. #
Total comments: 2
Patch Set 3 : Nits. #
Messages
Total messages: 20 (13 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||