diff options
author | Sergey Nikolaienkov <sergeynv@google.com> | 2021-02-15 09:42:20 +0000 |
---|---|---|
committer | Sergey Nikolaienkov <sergeynv@google.com> | 2021-03-09 06:08:44 +0000 |
commit | 70c9d936d9599e328ea43d47049a70737b122191 (patch) | |
tree | 198e3daa9463fda7700cb29a56b2ef020fa3b960 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 944e6eb7fc659b1ec8d5f4e1fce2a4b34aae2aac (diff) |
Cap resolution for pre-S apps on TV at 1080p
On Android TV applications that target pre-S SDK are not expecting to
receive a Window larger than 1080p.
To avoid this from happening this CL overrides compatibility scaling for
applications that target a pre-S SDK on ATV devices that have larger than
1080p screen, so that the applications would still need to draw to a
1080p Surface.
Bug: 157629738
Test: atest CtsWindowManagerDeviceTestCases:TvMaxWindowSizeTests
Change-Id: I2b240bb5fcae6b165fd17c982cc29c49de348dbf
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions