Skip to content
Snippets Groups Projects
Forked from Dhina17 / platform_frameworks_base
17917 commits behind the upstream repository.
user avatar
LuK1337 authored
On device with density forced to 1.6, hotspotY and bitmap height are
equal, which triggers the following exception:

java.lang.IllegalArgumentException: y hotspot lies outside of the bitmap area

Test: Boot up with display density 1.6, notice that PointerIcon
      exception is gone.
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/7368
Change-Id: Ifca973fe30f25c0bc8102562a2c84641fea62f3e
402738f7
History