diff options
author | Galia Peycheva <galinap@google.com> | 2021-03-19 14:20:34 +0100 |
---|---|---|
committer | Galia Peycheva <galinap@google.com> | 2021-04-01 15:28:04 +0200 |
commit | da9e3c8e1b07224d7d2e13a800851e6c3431cd1b (patch) | |
tree | 437136929c78438a5a4246e4808253f54da02eb8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions