summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2018-03-21 19:52:09 +0100
committerAdrian Roos <roosa@google.com>2018-03-23 12:45:45 +0000
commit4bef62e9d2f46095a8176e9141894f1e404cf5bc (patch)
treeafec9a297fde5b54ceaf3148144d7f64e260acad /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent0fe28341e543fabea3c3d8725483097a82792e06 (diff)
DisplayCutout: do not animate cutout (and rounded corner) overlay during rotation
Moves the rounded corner overlay to the overlay layer to prevent it from getting rotated, since physical features of the display cannot rotate. Note that they are still below the screenshot, so not visible during the transition (because the buffers are not synchronized to the rotation properly yet). Also makes sure that only priviliged processes can do this, because the overlay layer can obscure SystemUI. Bug: 76102595 Test: Enable cutouts, rotate screen, verify cutout overlay does not participate in the animation Change-Id: I65dd0bc5b038cca2ba4265c7e7dc93f3264c4d89
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions