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

Skip to content
Commit 72e5ed92 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Only recompute new config if rotation is changed from settings

It was true because the settings were mixed with the other settings
in PhoneWindowManager that may contain keyboard state change. Since
the settings observer of rotation is extracted to only listen rotation
related changes, it no longer needs to always compute new display
configuration that is either a wasteful invocation or may disturb the
display info by some intermediate states, such as launching app in
different orientation.

Bug: 298331183
Test: AppConfigurationTests#testFixedOrientationWhenRotating
Change-Id: I80abecf55074f10999387ad1c2c7f14ff11c403c
parent ed35afbc
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