Do not add layout reason if there is no config effect
The condition seems to be reversed. That causes a no-op window
container transaction to perform surface placement.
Bug: 235323163
Test: atest TaskFragmentOrganizerControllerTest
Test: adb shell setprop persist.wm.debug.shell_transit 1; reboot
Record trace with aidl tag. Launch an app. There should not
have a performSurfacePlacement in
IWindowOrganizerController:startTransition.
Change-Id: I6485c7838dd3ca5ac8905cf86513ad1a84e66f1f
Loading
Please register or sign in to comment