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

Skip to content
Commit 11452bf7 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent b9406495
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