Skip to content
Commit 6da58ac8 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Calculate wallpaper offset with associated display info

If the wallpaper has applied fixed rotation transform, it should
use the local display info. This change centralizes the access of
display info to WallpaperController#updateWallpaperOffset, so the
caller won't pass mismatched display size.

Bug: 152977308
Test: atest DisplayContentTests#testApplyTopFixedRotationTransform
Change-Id: If167e82c71d0f039691155a2aad28c2b78c683de
parent bde104f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment