Call warmup for Chrome 72 when launching TWAs

Chrome 72 needs the client.warmup() call, whereas in Chrome 73 this
requirement was removed to make TWA startup faster. LauncherActivity
should account for both cases.

Bug: 928686
Change-Id: I1c277c5df4028001230a3e35133e7df4921dcb9c
Reviewed-on: https://chromium-review.googlesource.com/c/1454656
Commit-Queue: Pavel Shmakov <pshmakov@chromium.org>
Reviewed-by: Peter Conn <peconn@chromium.org>
2 files changed
tree: dd1e38f9375ea5c405e550212d7d4a568bbdb8b6
  1. Application/
  2. customtabs/
  3. demos/
  4. gradle/
  5. infra/
  6. shared/
  7. .gitignore
  8. build.gradle
  9. codereview.settings
  10. CONTRIBUTING.md
  11. CREDITS
  12. gradlew
  13. gradlew.bat
  14. LICENSE
  15. OWNERS
  16. README.md
  17. settings.gradle
  18. Using.md
README.md

Chrome Custom Tabs - Examples and Documentation

Chrome Custom Tabs provides a way for an application to customize and interact with a Chrome Activity on Android. This makes the web content feel like being a part of the application, while retaining the full functionality and performance of a complete web browser.

Examples

Using Custom Tabs should be easy. This repository hosts examples and in-depth documentation. The examples are importable as projects into the Android Studio.

Bugs, Issues and Discussion

We want to hear your feedback! Please create bugs and start discussions using this template. Please use the template for any issues related to the Custom Tabs APIs, their implementation in Chrome, the examples in this repository, and related functionality of the Android Support Library.

Note: we know that the GitHub issue tracker is great! However, since Custom Tabs is mostly driven by Chrome developers, and we want to keep all bugs in one place, we prefer the Chromium issue tracker at the moment.

Contributing

We accept contributions to Custom Tabs examples and documentation. Please see our contributor's guide.