Ensure SurfaceView requests WM relayout when size changes.
In the case of scaled SurfaceViews with a fixed size. It is possible for the surface layout size to change without a change to the surface size or position. In this case we need to inform the window manager so it can update frames and scaling. This has presented in Camera and required workarounds such as changing the fixed surface size to trigger an update (leading to visual artifacts). Bug:23974105 Change-Id: I195aa0832907c32874b294101b56e198e853dce5 (cherry picked from commit a8fe43f0)
Loading
Please register or sign in to comment