summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBill Lin <lbill@google.com>2021-03-11 17:31:04 +0800
committerBill Lin <lbill@google.com>2021-03-12 18:06:48 +0800
commit1041042873485e03335db77bfda051b3e6d094f4 (patch)
treef2e673d3b9550a18c1525f362cab45f15f2357a8 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentaf8edd8ec5eeec79ae1ede3cfc99b5c72a0d1d58 (diff)
Fix OHM DA Organizer do not update display bounds by orientation
Legacy code depend on getDisplayBounds() which obtain bounds from current WindowMetrics, unfortunately, WindowMetrics's info is not up-to-date due to DisplayChangeController.onRotateDisplay() callback earlier than WindowMetrics get update. When onRotateDisplay() callback, we rotate old display bounds by the rotation policy manually. Test: atest WMShellUnitTests Bug: 182342712 Change-Id: I9ff91dd7e51417ee33d57327ca07203de52dbe33
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions