summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorShreyas Basarge <snb@google.com>2016-03-08 16:13:06 +0000
committerShreyas Basarge <snb@google.com>2016-03-10 18:18:58 +0000
commitcbf5ae92e70ed49f18b9e7454dc28d489b3d33a4 (patch)
tree90dd59420b1f94798e791c6d2eeefd48bf452f7b /rs/java/android/renderscript/Script.java
parentc4f31dde504bcb5de3dc8756c558b5bb3bfade5f (diff)
Remove SyncManager's local job cache
SyncManager maintains a local copy of all scheduled syncs. This was done so that we don't have to query JobScheduler every time we need to go through the syncs to reschedule them, etc. Keeping JobScheduler's job list and the SyncManager's copy in sync is messy. Not keeping a copy with SyncManager would also allow JobScheduler to drop jobs based on an app being uninstalled or other external events. Here, a function to query all pending jobs scheduled by the system process is exposed from JobScheduler and SyncManager uses it instead of maintaining a copy of its own. Change-Id: I723dbb3835a0f9c7e8844483004e7b0f7f340daf
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions