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

Commit 6748e174 authored by András Kurucz's avatar András Kurucz Committed by Caitlin Shkuratov
Browse files

Stop using NotificationsHunSharedAnimationValues.assertInNewMode()

Avoid risking crashes in nextfood by replacing the assertInNewMode with
isUnexpectedlyInLegacy mode. If the code path is accidentally used
again, we would break the HUN intro/outro animation, but not crash the
device.

Bug: 400416268
Flag: com.android.systemui.notifications_hun_shared_animation_values
Test: turn off the flag, run HUN intro/outro
Change-Id: I41ad7a0c5972ee670ea7309d0d66508194d1cd3f
parent 2dd064df
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