summaryrefslogtreecommitdiff
path: root/libs/input/SpriteController.cpp
diff options
context:
space:
mode:
author Fabian Kozynski <kozynski@google.com> 2020-08-10 12:00:40 -0400
committer Colin Cross <ccross@android.com> 2021-05-26 18:13:02 -0700
commit8cf0a2a2922ae696bc2127b4d4dd467cafbdc809 (patch)
tree8543b651b0ae12e801b9549e8851c5e8c9dee4c2 /libs/input/SpriteController.cpp
parent6af74807f258bbe6cb60a346594fc930c673196b (diff)
setCurrentState(DESTROYED) called from main thread
Also address timing issues with bouncing calls between 2 handlers. In particular, make sure that after a tile is DESTROYED, the state doesn't change anymore due to leftover refreshState calls. This sometimes would be caused as the result of an earlier tile added as a callback on something that replies on add. Make sure that tests that instantiate a QSTileImpl use the main looper for the passed handler. Test: atest TileServiceTest BooleanTileServiceTest Test: manual, open QSCustomizer that destroys tiles Test: atest SystemUITests Change-Id: I77c61f743510cdcca54fa37cd26062a3c96bd649 Merged-In: I77c61f743510cdcca54fa37cd26062a3c96bd649 (cherry picked from commit 3744d134add89693e1241abda0de7750ab1f7638)
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions