diff options
| author | 2022-10-21 12:19:59 -0700 | |
|---|---|---|
| committer | 2022-10-25 13:22:59 -0700 | |
| commit | 61274aba371c2d28075a424c34d917748e37a4b7 (patch) | |
| tree | e6a98b44d84aa10e8314cbc8df954f9f455634df /libs/input/PointerController.cpp | |
| parent | 04cbb0e201560d13bc14c2ac184846c30ece29b6 (diff) | |
Changes quick affordance key to string.
Before this change, the key that uniquely identifies each quick
affordance was the class of that key. Since we're about to embark on a
project where we'll have many implementations that share the same class,
this is no longer sufficient.
Previously, I was reluctant to use a string because there was no easy
way to guarantee uniqueness. Now that we see that we can't guarantee
uniqueness through the class typing system, we have to compromise.
Bug: 254858696
Test: unit tests updated and all passing. Manually verified that
affordances work and that clicking on one doesn't trigger the other.
Change-Id: I2d1ec382c04604c8478737720eb92410eec479f8
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions