Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 7f6e923

Browse files
Aishwarya MallampatiAndroid Build Coastguard Worker
Aishwarya Mallampati
authored and
Android Build Coastguard Worker
committed
Add sms log to session metrics
Bug: 385096345 Test: 385096345 FLAG: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5bf6de986b0945269a3f0d97c46c9be4bdae53e6) Merged-In: I5885e7078dd7426fc007b43a5be4b37962844c9b Change-Id: I5885e7078dd7426fc007b43a5be4b37962844c9b
1 parent 88a13f7 commit 7f6e923

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

telephony/java/android/telephony/satellite/SatelliteSessionStats.java

+7
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,13 @@ public void recordSuccessfulOutgoingDatagramStats(
252252
}
253253
}
254254

255+
public void resetCountOfUserMessagesInQueueToBeSent() {
256+
for (Map.Entry<Integer, SatelliteSessionStats> entry : datagramStats.entrySet()) {
257+
SatelliteSessionStats statsPerDatagramType = entry.getValue();
258+
statsPerDatagramType.mCountOfUserMessagesInQueueToBeSent = 0;
259+
}
260+
}
261+
255262
public int getCountOfSuccessfulOutgoingDatagram(
256263
@SatelliteManager.DatagramType int datagramType) {
257264
SatelliteSessionStats data = datagramStats.getOrDefault(datagramType,

0 commit comments

Comments
 (0)