summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2024-04-30 22:15:29 +0800
committer Riddle Hsu <riddlehsu@google.com> 2024-05-02 07:24:46 +0000
commit11452bf78cb3e919088ee1d97aa9fd8602911f0d (patch)
tree9ab5f441cc739ee6d18caedba88baee4715ed76d /libs/input/PointerController.cpp
parentb94064952b8993562945e292fe52570b76780f49 (diff)
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions