return one.getTimestamp() - other.getTimestamp();
}
});
return samples;
}
<BUG>private List<HPlusHealthActivitySample> insertVirtualItem(List<HPlusHealthActivitySample> samples, int timestamp, long deviceId, long userId){
</BUG>
HPlusHealthActivitySample sample = new HPlusHealthActivitySample(
timestamp,            // ts
deviceId,

return one.getTimestamp() - other.getTimestamp();
}
});
return samples;
}
private List<HPlusHealthActivitySample> insertVirtualItem(List<HPlusHealthActivitySample> samples, int timestamp, long deviceId, long userId) {
HPlusHealthActivitySample sample = new HPlusHealthActivitySample(
timestamp,            // ts
deviceId,
