summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorCharles Chen <charlesccchen@google.com>2020-11-26 18:53:22 +0800
committerCharles Chen <charlesccchen@google.com>2020-11-30 19:53:49 +0800
commit562659db694b38810568a50c87f2ce59ef05df65 (patch)
tree5f62363a178fc4d6b2143abdafcb9484f66ba839 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc66141e3a60038466f6c034bb4d08d2baf69ea18 (diff)
Fix max bounds doesn't get updated on dual TDA build
Previously ConfigurationContainer only respects provideMaxBounds in #setBounds, which leads to set bounds from WindowTransaction doesn't work because it invokes onRequestedOverrideConfiguration. This CL move the logic to override max bounds to onRequestedOverrideConfiguration. It also modifies DC#onRequestedOverrideConfiguration a bit because ConfigurationContainer changes requestedOverrideConfiguration on-the-fly. Test: atest ConfigurationContainerTests#testOnRequestedOverrideConfigurationChangedOverrideMaxBounds Test: atest WindowMetricsTests on Dual TDA test build fixes: 173770528 Change-Id: Ibc0a98d21291bc3f04d2d4ba981b8a5dc3ab5312
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions