| commit | 2d222ff3e2d9a7b5a0f1e9de555383710667a42a | [log] [tgz] |
|---|---|---|
| author | brycelee <brycelee@google.com> | Wed Jun 04 22:40:24 2025 +0000 |
| committer | brycelee <brycelee@google.com> | Thu Jun 05 22:54:52 2025 +0000 |
| tree | 0a566406ea08e7d86601f5189421ba4a49d0322b | |
| parent | 0d451afe63d07777f96657b11fa87a1835390852 [diff] |
Properly handle JavaAdapterKt flow lifetimes. Flows created through JavaAdapterKt#collectFlow must be explicitly canceled when not used. This changelist ties the lifetime of a number of such flows to the view attached state. Fixes: 420871821 Flag: EXEMPT bugfix Test: atest ComplicationHostViewControllerTest Test: atest AmbientStatusBarViewControllerTest Change-Id: Id7699a2b20edcec50aa8651e05c71366d7715774