summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2021-10-19 11:35:14 -0400
committerJohn Reck <jreck@google.com>2021-10-19 11:43:25 -0400
commitab45cf3da3ec9305c348e2d097483dc83cf9fda2 (patch)
treefc903bdd280640c54ca3ad2fb1ad660130774587 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parentb1635458d027191a732ae3c905fab7160128574c (diff)
Fix SurfaceTexture listener performance
Attaching & detaching threads from JavaVM isn't cheap. There's no reason to do a detach anyway, so just don't. This avoids subsequent callbacks needing to re-attach. This aligns SurfaceTexture to the common pattern elsewhere in the platform for attaching as a daemon if it's not a java thread. Fixes: 26842782 Test: make Change-Id: I9bebe288dc8896c1f2c47cc1b02409526926cef7
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions