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

Skip to content
Commit 56327ff9 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Revert^2 "Reduce unnecessary visibility update after resumed"

When starting/resuming activity, ensureVisibilityAndConfig has
already done the update. The invocation in completeResumeLocked
is just duplicated.

This reverts commit cc946a4d.
Previously the updateCompatDisplayInsets is called from
ensureActivitiesVisible -> ensureActivityConfiguration
-> updateReportedConfigurationAndSend. Which intends to
capture the configuration in a stable state. So now only
need to call updateCompatDisplayInsets directly.

Bug: 297502610
Test: ActivityRecordTests#testCompleteResume_updateCompatDisplayInsets
Test: WMShellFlickerTestsOther:RestartAppInSizeCompatModeTest# \
          appWindowRemainInsideVisibleBounds
Test: CtsStatsdAtomHostTestCases:SizeCompatRestartButtonStatsTests# \
          testSizeCompatRestartButtonAppearedButNotClicked

Change-Id: I2537b1b8e3484188eead3eae5e0d534a67a72e70
parent cc946a4d
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