Fix a bunch UX bugs for donor badges.

This commit is contained in:
Alex Hart
2021-11-11 13:46:38 -04:00
committed by GitHub
parent 5047fc54f2
commit ca24682366
37 changed files with 450 additions and 47 deletions

View File

@@ -462,6 +462,14 @@ public class JobManager implements ConstraintObserver.Notifier {
jobManager.enqueueChain(this);
}
public void enqueue(@NonNull JobTracker.JobListener listener) {
List<Job> lastChain = jobs.get(jobs.size() - 1);
Job lastJobInLastChain = lastChain.get(lastChain.size() - 1);
jobManager.addListener(lastJobInLastChain.getId(), listener);
enqueue();
}
private List<List<Job>> getJobListChain() {
return jobs;
}