Reduce duplicated invocation of sendNewConfiguration
If there is a transition, sendNewConfiguration will be called from
WindowOrganizerController#startTransition -> applyTransaction
-> applyDisplayChangeIfNeeded.
So simply skip it as WMS#updateRotationUnchecked did, which checks
transition.isCollecting() to skip sendNewConfiguration.
Bug: 288105083
Test: Launch landscape app from portrait app. sendNewConfiguration
is only called once.
Change-Id: Iba2cc27cb81e7b4b2d7633e42f08e58ef38e053f
2 files changed