Update the StatsPullAtomsService to accommodate RkpErrorStats.

Bug: 230750270
Test: Local testing with statsd TestDrive script
Change-Id: Iae546b9feea1c641687d89991a19c165b58d5a72
This commit is contained in:
Hasini Gunasinghe
2022-05-10 17:54:36 +00:00
parent 2775f8a1d1
commit 907a9a4888

View File

@@ -4352,7 +4352,8 @@ public class StatsPullAtomService extends SystemService {
}
RkpErrorStats atom = atomWrapper.payload.getRkpErrorStats();
pulledData.add(FrameworkStatsLog.buildStatsEvent(
FrameworkStatsLog.RKP_ERROR_STATS, atom.rkpError, atomWrapper.count));
FrameworkStatsLog.RKP_ERROR_STATS, atom.rkpError, atomWrapper.count,
atom.security_level));
}
return StatsManager.PULL_SUCCESS;
}