Change TaskInfo topActivityInSizeCompat to look at visibility
Right now the TaskInfo is looking for the top activity to be resumed and in size compat mode in order to populate topActivityInSizeCompat. We want to change the "resume" to "visible", which will fix a bug where a paused activity that is in size compat mode does not have a visible restart button. Fix: 271586422 Test: atest WmTests:SizeCompatTests#testTopActivityInSizeCompatMode_pausedAndInSizeCompatMode_returnsTrue Test: atest WmTests:WindowOrganizerTests#testSizeCompatModeChangedOnFirstOrganizedTask Change-Id: I56f643210018201f18830d640e786b4fc3c246c8
Loading
Please register or sign in to comment