Remove PointerIcon frame size checks for animated drawables

PointerIcons are already only loaded from system server's UiThread.
However, there are still some cases where system resources, such as
display density, change asynchronously from different threads.
It is difficult to synchronize resource updates and resource
loading.

After the introduction of Vector icons, the frame size of PointerIcons
will depend on the display density, so we must assume that the density
can change while loading icons. We should no longer enforce that all
frames of an animated icon are the same size. The rest of the pipeline
makes no assertions that all animation frames are the same size.

Bug: 362296003
Bug: 362462770
Test: Presubmit
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:14406149022cde05386523402c4edbc15ee00902)
Merged-In: If04ff8224e64c7efa57d10a5f149d52a7569ef9a
Change-Id: If04ff8224e64c7efa57d10a5f149d52a7569ef9a
1 file changed