Fix the Safety Center Status showing logic to cover edge cases
In old logic it was possible to end in a state where refresh is not in progress with a request to continue scanning animation, rendering the first frame of scanning animation instead of the final status icon. Event sequence for this case: 1) receive initial refreshing SafetyCenterData with Severity Level A 2) wait until scanning animation is running in loops 3) do not receive any refreshing SafetyCenterData with Severity Level B 4) receive final non-refreshing SafetyCenterData with Severity Level B Test: atest PermissionControllerMockingTests Bug: 261160581 Relnote: Fixed a bug Change-Id: Ifff75d4e3cce0c812b87836797efc33b007ac2d2
Loading
Please register or sign in to comment