summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-06-16 07:20:34 -0700
committerBryce Lee <brycelee@google.com>2017-06-16 14:00:40 -0700
commit02949f14151f10f906f1fab58e788fadb98baba8 (patch)
tree8f183a857a0a6d4fb1e09e4e20042fd47005fc6f /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentded5608f18122f118419b1f4d16c390a792f8af0 (diff)
Create native Surface object on updateWindow for legacy apps.
There are some apps that use the Surface object itself to indicate changes. As a result, recycling the existing Surface object for updates can lead to such apps ignoring events such as size changes. This changelist restores the original behavior for legacy apps, where the underlying native Surface object is recreated during updates. Fixes: 62108743 Test: go/wm-smoke Test: Open affected application, observe expansion to fullscreen when nav bar disappears. Rotate to other orientation and observe expansion to fullscreen. Change-Id: I874602b6b8686c6ecb05cf7b1a04ec4b700ad3f9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions