[Chromecast] Reactive intent handling in CWCA.
Added some features to reactive framework to make this smooth. This is one step to refactoring CastWebContentsActivity and adjacent classes to be testable. The ultimate goal is to express the logic of CastWebContentsActivity and other classes in terms of observable events, with the Activity, Service, and Fragment classes being thin adapters from Android API events to reactive Observables. That will let us cleanly separate concerns in the behavior classes and mount them in lightweight, potentially non- Robolectric test fixtures. Bug: Internal b/36777136 Test: cast_base_junit_tests, cast_shell_junit_tests Change-Id: Iacdeb0084e34d99193fc2733c2dbd42d9560b16a Reviewed-on: https://chromium-review.googlesource.com/929892 Commit-Queue: Simeon Anfinrud <sanfin@chromium.org> Reviewed-by:Luke Halliwell <halliwell@chromium.org> Cr-Commit-Position: refs/heads/master@{#539978}
Showing
Please register or sign in to comment