Slice background worker with Wi-Fi Slice

Test: manual

Change-Id: Ic4fdc5713f511ff80f03728c99c68fda3d0cab02
This commit is contained in:
Jason Chiu
2018-10-08 12:06:26 +08:00
parent 4ae062b7c8
commit f17233ba7d
6 changed files with 313 additions and 10 deletions

View File

@@ -89,6 +89,16 @@ public interface CustomSliceable {
return null;
}
/**
* Settings Slices which can represent component lists that are updatable by the
* {@link SliceBackgroundWorker} returned here.
*
* @return a {@link SliceBackgroundWorker} for fetching the list of results in the background.
*/
default SliceBackgroundWorker getBackgroundWorker() {
return null;
}
/**
* Standardize the intents returned to indicate actions by the Slice.
* <p>