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
Loading
Please register or sign in to comment