summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2019-12-12 12:15:33 -0800
committerAndrii Kulian <akulian@google.com>2020-01-15 12:22:46 -0800
commit946e8df66050dc65e891078a62d033bbe0d4f264 (patch)
tree1da7d5791189cdbefda4d77ae0e70ea5159f8a32 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentfa23a9ee1f4b3409feb34b1f29e78b83ae74970a (diff)
Update resource config for default display
When a launched application doesn't occupy the entire screen space, there is a mismatch between the configuration of the process and the configuration of activities. This leads to compatibility issues with apps that don't expect this, read display metrics from Application resources and try to apply them in activities. The platform may apply a compatibility mode, in which the process configuration will match the config of the top running activity. This means that the process configuration may change and runtime and result in display adjustments that are different from the default values. This CL propagates resource configuration updates even for default display to make sure that the config changes are reflected for non-activity contexts. Test: CtsWindowManagerDeviceTestCases:AppConfigurationTests Change-Id: I91cadc83a82a3be8c8dee810bbd1aa97cbe4e97f
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions