Skip to content

Commit 23be982

Browse files
committed
update
1 parent 18862c2 commit 23be982

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

firebase-common/src/main/java/com/google/firebase/heartbeatinfo/HeartBeatInfoStorage.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ synchronized void deleteAllHeartBeats() {
7878
int counter = 0;
7979
for (Map.Entry<String, ?> entry : this.firebaseSharedPreferences.getAll().entrySet()) {
8080
if (entry.getValue() instanceof Set) {
81+
// All other heartbeats other than the heartbeats stored today will be deleted.
8182
Set<String> dates = (Set<String>) entry.getValue();
8283
String today = getFormattedDate(System.currentTimeMillis());
8384
String key = entry.getKey();

0 commit comments

Comments
 (0)