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
Loading
Please register or sign in to comment