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

Commit 5a13de6b authored by dshivangi's avatar dshivangi Committed by Shivangi Dubey
Browse files

Remove isCameraRotationEnabled from RotationPolicyWrapper

The reason for this change is to enable the reuse of RotationPolicyWrapper in Launcher for better unit testability.
The original implementation was difficult to use in Launcher because it required SystemUI-specific dependencies.

To simplify sharing the RotationPolicyWrapper, we are decoupling it from SecureSettings.
This also aligns with the principle that the method isCameraRotationEnabled should not be part of the RotationPolicyWrapper in the first place, as it's not a part of the RotationPolicy class itself.

Test: Refactor only, No behaviour change
Flag: EXEMPTY REFACTOR
Bug: 430756509
Change-Id: Ia9a9aaf94b4c52f3151d0908d043a67cda640aa0
parent 79c374eb
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