summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorChris Li <lihongyu@google.com>2020-10-23 15:32:54 -0700
committerChris Li <lihongyu@google.com>2020-10-24 12:27:09 -0700
commit8a68368bd6b6aa56e42efa79bfc184a78e550a32 (patch)
tree364b9f3f162f3e8e094fe7eefa65a2efcc5c4b85 /rs/java/android/renderscript/ProgramStore.java
parentd5f2cd95f20f8deb12c9b99b4d08d6a4b39cb10f (diff)
Use the app request aspect ratio for Task letterboxing
Before, when app requests fix orientation with aspect ratio, it will first be letterboxed at Task level with display ratio, and then be letterboxed at Activity level with request ratio, which may become too small (fill neither of display width and height). This change is to have Task level letterboxing use the app request aspect ratio (if set) instead of display ratio. Bug: 170725334 Bug: 155431879 Test: atest WmTests:SizeCompatTests Test: manual: adb shell wm set-ignore-orientation-request true Change-Id: I568db28125fa11c2a78ff4d6930abb49ca3fffe8
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions