Fix WindowMetrics not get updated when moving a freeform activity
Previously, we only applied the config changes to Resources if a public fields are updated. After WM#getCurrent(Maximum)WindowMetrics were released, we should also update WindowConfiguration changes to the Resources because WindowMetrics#getBounds is provided by WindowConfiguration fields. This CL updates the window configuration to Resources if there are differences between current & updated window configuration. Bug: 169687278 Test: atest WindowMetricsOnActivityTests Change-Id: I822204dab226d0acae2a0966b8ea05cf8f578b49
Loading
Please register or sign in to comment