Loading
Skip activity animation if its display is animating
The display animation should cover entire screen. That avoids
mixing weird animations, such as reparenting other targets
to transition root, e.g. ActivityWrap.
Also change use display id to check in case there are multiple
displays. Suppose the changes are sorted by displays.
Bug: 373415266
Flag: EXEMPT bugfix
Test: Declare an activity android:configChanges="uiMode"
and start self FLAG_ACTIVITY_CLEAR_TASK with
overridePendingTransition slide animation
in onConfigurationChange.
Launch it, open notification shade and toggle dark theme.
Change-Id: I394c3dd0a3a262a10b053c60ea35010d896157fb