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

Commit 2bf51f47 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix loop index.

Change-Id: Ib6827d58b3fec59f757f1051fb9a353da0c90c30
parent 6c24a274
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -358,7 +358,7 @@ public class JobSchedulerService extends com.android.server.SystemService
                for (int i=0; i<jobs.size(); i++) {
                    JobStatus job = jobs.valueAt(i);
                    for (int controller=0; controller<mControllers.size(); controller++) {
                        mControllers.get(i).deviceIdleModeChanged(mDeviceIdleMode);
                        mControllers.get(controller).deviceIdleModeChanged(mDeviceIdleMode);
                        mControllers.get(controller).maybeStartTrackingJob(job);
                    }
                }