mozilla-b2g/gaia-email-libs-and-more — pull request #249 by jrburke (2013-09-11 17:23:20+00:00)
Title: Bug 892518 - email: [User Story] Ability to Change Sync Interval

While doing the integration test for bug 892518, tracing through the logic, I found a small issue where if no alarms are found, the exit early inside mozAlarms.getAll() onsuccess if no alarms would mean not sending the 'syncEnsured' message back to the worker, which means the cronsync may not send future ensureSync checks since it blocks further calls until it gets a response from cronsync-main's ensureSync.

This change will be rolled up into the gaia changeset for 892518.