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