commit | da9e3c8e1b07224d7d2e13a800851e6c3431cd1b | [log] [tgz] |
---|---|---|
author | Galia Peycheva <galinap@google.com> | Fri Mar 19 14:20:34 2021 +0100 |
committer | Galia Peycheva <galinap@google.com> | Thu Apr 01 15:28:04 2021 +0200 |
tree | 437136929c78438a5a4246e4808253f54da02eb8 | |
parent | 0747b739393fe789b587d3520d4312338e17f5a1 [diff] |
Fix stale background blur drawable in DecorView The BackgroundBlurDrawable is linked to a specific ViewRootImpl. When the view is detached and re-attached, the ViewRootImpl changes, so we need to reinitialize the background blur drawable inside DecorView. This CL properly handles onDetachedFromWindow in DecorView. Bug: 177523043 Test: m && atest BlurAggregatorTest Change-Id: I2e25a2f85bdf95c151fd01dc794a6bc4b16c03b1