Set Visibility on ClockSwitch Animation
This sets the visibility of the clock frames to invisible when they are removed from view by KeyguardClockSwitch. This does not cause a visual change with the clock animation directly, but allows code to use visibility checks of the frames to determine which size clock is shown. There is an impact on the AOD positioning for the small clock which was already checking parameters this way, and always using the large clock positioning parameters as a result. This is now corrected and KeyguardClockPositionAlgorithm will recieve the correct parameters depending on whether the large or small clock is shown. Fixes: 261755021 Test: Manually checked a few devices Test: atest KeyguardClockSwitchTest Change-Id: I1c8cb09d39e116c32ef4ed4ea07a7efad4171616
Loading
Please register or sign in to comment