[sf-newfe] pass buffer transform to legacy layer

Screenshots still access the legacy layer object on the
binder thread. Until we can migrate the logic to use
layer snapshots, pass buffer transform to the layer
object.

Test: atest AccessibilityTakeScreenshotTest
Fixes: 299370771
Change-Id: I0d66640dd4da1bcf9e784af551660683fd0cd051
1 file changed