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

Skip to content
Commit 6191809a authored by Prabir Pradhan's avatar Prabir Pradhan
Browse files

Deprecate PointerIcon#TYPE_DEFAULT API

The PointerIcon#TYPE_DEFAULT constant has the same value as TYPE_ARROW,
which makes it a redundant API. Especially now that styluses can also
show pointer icons, this API is misleading, because not all pointer
types have the same default icon. While the arrow might be the default
for a mouse or trackpad, it will likely not be the default for styluses.
Since this default is no longer correct, deprecate the API.

The way to use the system's default icon is to return a null value for
PointerIcon through the View APIs. This is not to be confused with
TYPE_NULL, which shows no icon.

Bug: 215436642
Test: Build
Change-Id: I89f55685b588dc39a0d2b34619e4187d9f041a56
parent bcd276d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment