commit | 6da58ac8d2f98f1cee4dbebc97878315698e037f | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Thu Apr 02 01:04:40 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu Apr 02 01:05:21 2020 +0800 |
tree | 37b4ac9425b8c7aeec4ee8deadf8ce91fb513edc | |
parent | bde104f8be331b97ba8bdb9f0a809245e785ef3f [diff] |
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