Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cac2f8a0 authored by Charles Chen's avatar Charles Chen
Browse files

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
parent 8edab97f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment