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

Commit fe16fee6 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

Further optimize Ime SubtypeSwitchingController

This further optimizes InputMethodSubtypeSwitchingController by removing
redundant string object allocations, instead relying on the CharSequence
compare method, and on keeping subtype hashcodes as ints instead of
strings (also improving set de-duplication).

Lastly, this removes most of the duplication from the test class.

Flag: EXEMPT cleanup
Bug: 347693610
Test: atest InputMethodSubtypeSwitchingControllerTest
Change-Id: I3a2dd0f0ecc429d08af0fb660ef56a94af04eb5d
parent 8ad53168
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