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

Skip to content
Commit f1c25ec7 authored by Graciela Wissen Putri's avatar Graciela Wissen Putri
Browse files

Consolidate full-screen override and cache user aspect ratio

Consolidate user and system full-screen override in
overrideOrientationIfNeeded.

Cache user aspect ratio if successful to reduce binder calls to package
manager per activity lifecycle. App will be force stopped if user aspect
ratio is changed via Settings so there should be no changes in runtime.

Flag: EXEMPT refactor
Bug: 371554314
Test: atest SizeCompatTests
      atest AppCompatAspectRatioOverrideTest
      atest AppCompatOrientationPolicyTest
Change-Id: I65d48399e512ef2cdd161a02e7766a9aa50f0b25
parent a28b2a71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment