[Android WebAPKs] Reland: Fix launching > 1 WebAPK on pre-Android-N
This CL: - Makes WebappLauncherActivity set the correct URI on the launch intent for WebAPKs - Renames WebappIntentUtils#getId() to make it clear that it only applies to homescreen shortcuts - Moves WebappRegistry#webApkIdForPackage() to WebappIntentUtils alongside WebappIntentUtils#getIdForHomescreenShortcut() - Adds a boolean parameter to WebApkValidator#disableValidationForTesting() for the sake of tests which need to keep validation enabled. BUG=1114560 TEST=WebappLauncherActivityTest.* R=peconn TBR=sky (For trivial change to MapsGoFirstRunTest.java ) Change-Id: I615b1aca48b4a0c626a1e02613c58e9bdebc44ad Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348050 Commit-Queue: Peter Kotwicz <pkotwicz@chromium.org> Reviewed-by:Peter Conn <peconn@chromium.org> Cr-Commit-Position: refs/heads/master@{#796974}
Showing
Please register or sign in to comment