Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69697c86 authored by Michael Wachenschwanz's avatar Michael Wachenschwanz Committed by android-build-merger
Browse files

Merge "Fix JobSet getJobsByUser" into oc-dev am: b6d30e14

am: 9c9f4e72

Change-Id: Ic6290a0468ae02697fbb2a21617596c7d6af604f
parents 97208056 9c9f4e72
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -807,7 +807,7 @@ public class JobStore {
            ArrayList<JobStatus> result = new ArrayList<JobStatus>();
            for (int i = mJobs.size() - 1; i >= 0; i--) {
                if (UserHandle.getUserId(mJobs.keyAt(i)) == userId) {
                    ArraySet<JobStatus> jobs = mJobs.get(i);
                    ArraySet<JobStatus> jobs = mJobs.valueAt(i);
                    if (jobs != null) {
                        result.addAll(jobs);
                    }