summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2019-06-18 16:12:29 -0700
committerRobert Carr <racarr@google.com>2019-06-18 16:12:29 -0700
commit437c0e4c15799da751a91b013361941b5e31093e (patch)
tree9f86547d5d86e62ce4390261fe765c80cc82f5f8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentec3ba99e951e3229e5dc25148069d4a6ed27290d (diff)
ViewRootImpl: Ensure layout when configuration changes.
When the configuration changes between landscape and reverse landscape, the app will not receive onConfigurationChanged as orientation is not part of the public portion of the configuration. However, when the ViewRootImpl receives such a configuration back from relayout, it will force a layout of the client views (see updatedConfiguration in performTraversals), this is because Configuration#equals compares the non public part of the configuration as well. This CL changes MSG_REPORT_RESIZED to handle the configuration changing the same way performTraversals does, so that the app consistently receives a configuration change. Bug: 134643273 Test: Manual Change-Id: If016bcd9a5b8d2a7efc5e1ab3c82a88a608caf8b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions