summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2021-11-17 10:35:23 -0800
committerKweku Adams <kwekua@google.com>2021-11-17 10:35:23 -0800
commit2d5fb8850a02709d1adeb74e0deeb63c653e2761 (patch)
treeff8d535968b67986656a1f1bf45ce36c13afcbae /core/java/android/inputmethodservice/InputMethodService.java
parentddb27f8dd1e2602fc16174699e8c30ff85ee724f (diff)
Let prefetch jobs run for apps with active widgets.
We currently can't tell if a widget is displaying data that is updated periodically. If a prefetch job is scheduled for such a widget, it should get to run since it'll be helpful for the user. Given what we know right now, we will mark the prefetch bit as satisfied for apps with active widgets. We won't relax the force-batching requirement unless we also determine that the app will be launched soon. Bug: 194532703 Test: atest FrameworksMockingServicesTests:PrefetchControllerTest Change-Id: I6d1c17c386a27e70525f72824710739b78e9ad5e
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions