summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-05-27 00:59:57 +0800
committer Riddle Hsu <riddlehsu@google.com> 2023-05-27 01:00:28 +0800
commitd21f004f1e43ac39755a11c7b434df257f719e0e (patch)
treeb947b03e682388810c6ba71bdd0de8eab17ae3c9 /api/api_test.go
parent61f4503d08d106370e7c885ad3a0f62c7df4b875 (diff)
Invoke redraw callback for wallpaper if size is changed
As the comment of SurfaceHolder.Callback2#surfaceRedrawNeeded: Called when the application needs to redraw the content of its surface, after it is resized or for some other reason. In case some path other than handleResized calls updateSurface without requesting redraw but triggers a size change. Bug: 283952978 Test: Unlock to an app with different orientation and off/on screen again quickly. Change-Id: I9951bc85628e93547d36a2936e3c7c6162d55c49
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions