~/talk

Best practices for running background work on Android

Talkat Google I/O 2022 · 2022-05-11..05-12· [android]
name:Jing Ji
links:none on file
links:none on file
links:none on file
slides:none on file

Android 13 standardizes app restriction levels (Unrestricted, Optimized with the four Android 9 standby packages Active/WorkingSet/Frequent/Rare, Restricted, Background Restricted) and adds a foreground service Task Manager with a Stop button. JobScheduler gains a priority API, better thermal response, and setMinimumNetworkChunkBytes to avoid repeated transfers. High-priority FCM quota decouples from standby buckets and notification permission hides notifications if not granted. Jetpack tools recommended: WorkManager (including setExpedited) and CameraX for efficiency. setMinimumNetworkChunkBytes and foreground service Task Manager are demonstrated.

AI-written summary · about

  1. 0:00Android battery goals
  2. 2:36Background restrictions
  3. 6:24Job scheduler improvements
  4. 10:49Notification controls
  5. 13:09FCM priority updates
  6. 15:08App etiquette philosophy
  7. 17:15Efficiency techniques
  8. 22:28Active app optimizations
  9. 26:09Future android direction
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.