summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDiego Vela <diegovela@google.com>2021-11-04 21:08:27 -0700
committerDiego Vela <diegovela@google.com>2021-11-16 14:57:23 -0800
commitae42f512dfc219d9cec9f9f0e91ff700745df026 (patch)
tree0e02850e7195f9e70f5b8d0f678d775adea5337b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7e37ab845dd11f6d95b8506d7f168e18de287ce6 (diff)
Ignore folding feature when it is not on the active display.
Ignore the folding feature states that are not reported through extensions. There is a crash when trying to process a folding feature while the corresponding display is not active. We had a fallback value for the posture of flat but the bounds that we calculated would be incorrect. We removed the default value and ignore the folding feature when the corresponding display is not active. Bug: 204477995 Test: manual - install the samples app from WindowManager Test: close a folding device and open the samples app Test: select the display feature sample. Test: app should not crash. Change-Id: I102ed61618915ae6782c40964882a54184538e81
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions