@ -608,7 +608,7 @@ public class MicroPhotoService extends Service {
nextPhotoTime *= 1000;
if (nextPhotoTime > ts) {
mHeartbeatDuration = duration;
registerHeartbeatTimer((int) ((nextPhotoTime - ts) % duration) + 999);
registerHeartbeatTimer((int) ((nextPhotoTime - ts) % duration));
} else {