Skip to content
Commit a3549830 authored by Garfield Tan's avatar Garfield Tan
Browse files

Implement launch bounds logic in Android (1/3)

Abstract threading logic that can be shared among persisters into a
common class. Later we'll introduce a new persister that stores mapping
from components to launch params (such as launch bounds and display
unique ID). That persister could reuse this class for threading which
could avoid creating another thread for persistence.

Also added some unit tests for the threading logic.

Bug: 113252871
Test: Manually test that recent tasks can still be restored across
reboots. atest PersisterThreadingTests. TaskPersisterTest is broken in
ToT.

Change-Id: I2b48593f38efcc205c2a213dbd93607c9588b12c
parent 56e55986
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment