summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-04-22 09:50:16 -0600
committerJeff Sharkey <jsharkey@android.com>2016-04-24 14:39:34 -0600
commitf07c7b9fd0a640bff4bf7690373613da217fe69b (patch)
treee7c49a80faaf335046b0299d1a44d57ce2d7b06a /rs/java/android/renderscript/ProgramStore.java
parent14d8be728bbca1e7d721479fa1476e23e1b7accf (diff)
API changes for DownloadManager and JobScheduler.
To support moving DownloadManager, add new JobScheduler network type constraint that matches "any network except roaming." Also add an API to get a specific JobInfo by ID. Since the default network can be different on a per-app basis, and individual apps may be blocked due to app standby, evaluate job connectivity constraints on a per-UID basis. To implement this cleanly, add NetworkInfo.isMetered() to match the isRoaming() API. Add new DownloadManager APIs to support charging and device idle constraints, which are plumbed through to JobScheduler under the hood when scheduled. Add filtering to JobScheduler dumpsys to omit noisy details for packages the caller isn't interested in. Bug: 28098882, 26571724, 19821935 Change-Id: I09ca7184ef7ce6adba399f579d415a5fb2ea6110
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions