summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2021-12-21 00:18:48 +0800
committer Riddle Hsu <riddlehsu@google.com> 2021-12-21 15:39:32 +0800
commit5eeb4070c1a432b5a599554adf30c76afe30c002 (patch)
tree15962502376fbbdb9ad2b88b027d17a478a943d8 /libs/input/PointerController.cpp
parent9975e2c41290a1c7bfed1c345beed4f925acf5fa (diff)
Fix wallpaper zoom effect with shell transition
Currently WallpaperController#adjustWallpaperWindows is called for shell transition at DisplayContent#ensureActivitiesVisible and Transition#onTransactionReady for collecting visibility change of wallpaper. But if wallpaper target is cleared and wallpaper is requested to be invisible, its offset and scale won't be updated. So this change allows visible window to update wallpaper during transition. And make sure the offsets are calculated based on the configuration that reported to client, to avoid mixing coordinates with different orientation. Bug: 211447882 Test: adb shell setprop persist.debug.shell_transit 1; reboot Set static image as wallpaper (don't use live wallpaper). Launch portrait and landscape app from portrait home. Observe the wallpaper should show the same zoom effect. Change-Id: I1db9207c79bc45dedd90e7b13af5517f09abe4a7
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions