diff options
| author | 2021-10-28 16:07:58 -0700 | |
|---|---|---|
| committer | 2022-04-11 14:33:33 -0700 | |
| commit | be9da6d252dbccacb251aaa8e735f106b12d042e (patch) | |
| tree | 6d37aaf642c1db6e383ac6169f0d043a43e75f81 /libs/androidfw/StringPool.cpp | |
| parent | 71163eeeb30fe70943ec6e2ed377b349075627b0 (diff) | |
Use sourceRectHint to calculate scale when enter PiP
This is to patch the entering PiP transition with YT tablet UI, which is
used in unfolded state and/or tablets landscape mode.
Changed also to use SurfaceControl.Transaction#setCrop instead of
deprecated setWindowCrop.
Bug: 198309223
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eODHpvqAQPfbwjFamtRYC1
Test: manual, see video
Change-Id: I6fbfea110f9a73faf05ebeb90773dcee58b41328
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions