Fix shadows when device is rotated
- Made setGlobalShadowSettings synchronous since oneway and synchronous calls are not guaranteed to be ordered. This is helpful for testing and this function is only called once on startup. - Fixed cropped shadow test by moving shadow casting layer to a position that is the same relative to the light pos, independent of device resolution. Bug: 377194534 Flag: EXEMPT bugfix Test: Open freeform windows and rotate your device and observe that shadows are cast in a consistent direction. Before the change, T6 shadows were always incorrectly cast towards the charging port. Change-Id: I72a7586f40ae35a0ac449ad6b920976de145f446
Loading
Please register or sign in to comment