ScreenDecorHwcLayer: request and report transparent regions
I6c5d29614dc8d65d8481150ce717a440192083a0 plumbs the transparent region
to the HAL blocking region for DISPLAY_DECORATION layers. Make
ScreenDecorHwcLayer call requestTransparentRegion, which will make the
ViewRootImpl compute the transparent region. Then override
gatherTransparentRegion to remove sections where it draws.
Bug: 212736475
Test: atest ScreenDecorHwcLayerTest
Change-Id: I0debc8a96dea34ff03ec089233523fe279ecbb00
4 files changed