Make installing a WebAPK add a homescreen icon |
|||
Issue descriptionMake installing a WebAPK add a homescreen icon
,
Aug 10 2016
sure! i think that rather than listening to package manager we can use startActivityForResult and get an intent after packageinstaller completes. This is blocked on issue 635373 . Let me know if you want me to pick that up
,
Aug 22 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/723c87a310a6ed30e88292f046b2c19a1d33660f commit 723c87a310a6ed30e88292f046b2c19a1d33660f Author: hanxi <hanxi@chromium.org> Date: Mon Aug 22 21:12:46 2016 [WebApk] Installation adds a homescreen shortcut. Since installation is going through package installer directly and not play, a shortcut isn't created. Add logic to listen for package installation and manually create a shortcut (there is no callback/event that can be listened to). Note if chrome is evicted, a shortcut won't be created. As this is a temporary solution, it should be fine for now. BUG= 636107 Review-Url: https://codereview.chromium.org/2261343002 Cr-Commit-Position: refs/heads/master@{#413534} [modify] https://crrev.com/723c87a310a6ed30e88292f046b2c19a1d33660f/chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java [modify] https://crrev.com/723c87a310a6ed30e88292f046b2c19a1d33660f/chrome/android/java/src/org/chromium/chrome/browser/webapps/WebApkInstaller.java
,
Sep 1 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by pkotw...@chromium.org
, Aug 10 2016Status: Assigned (was: Untriaged)