summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2021-11-09 14:12:04 -0800
committerKweku Adams <kwekua@google.com>2021-11-09 14:17:01 -0800
commitc3c5fa5a3edff8051f589fecabcbbb89ffaad7bb (patch)
tree51d62e1fa50b0779caf4ebdbdd5d9fef8ff703b0 /core/java/android/inputmethodservice/InputMethodService.java
parent54c1ea894708aa0bee0299acbb3e69060f4c435c (diff)
Don't start prefetch jobs for TOP apps.
If a prefetch job hasn't started by the time an app is opened, then we decide not to run it until the app is closed again. The rationale being that "prefetch" is to do something before the app launch and it wouldn't be useful while the app is on TOP. Any prefetch job that is already running when the app is launched will be allowed to finish. Bug: 194532703 Test: atest FrameworksMockingServicesTests:PrefetchControllerTest Change-Id: I485cd0170a0066a82ab66bf92e36206a9a78bd78
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions