Merge "Don't walk mutexed collections outside the mutex" into nyc-mr1-dev

This commit is contained in:
Chris Tate
2016-07-12 18:56:24 +00:00
committed by Android (Google) Code Review

View File

@@ -2547,7 +2547,9 @@ class AlarmManagerService extends SystemService {
} else {
// Just in case -- even though no wakeup flag was set, make sure
// we have updated the kernel to the next alarm time.
rescheduleKernelAlarmsLocked();
synchronized (mLock) {
rescheduleKernelAlarmsLocked();
}
}
}
}