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

Skip to content
Commit 061ce29f authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Make the condition of preserveWindows consistent

Remove preserveWindows:
 It was confusing that the callers pass the parameter randomly.
 But the final condition is still filtered by
  "isResizeOnlyChange(changes) && !mFreezingScreen;"
 in AR#ensureActivityConfiguration.
 So concentrate the decision there. Also add a condition to
 not preserve for rotation change temporarily, until the
 problem of re-show IME is resolved.

Remove globalChanges:
 It is used for freezing screen that is no-op with shell transition.
 Temporarily use UpdateConfigurationResult to keep original behavior.

Bug: 258618073
Test: ActivityRecordTests DisplayContentTests

Change-Id: Ifa95f4d74551a30650ea1f046f0e5f25400cb84d
parent 96bbd316
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment