Fix missing setAtomId

Test: adb shell cmd stats print-source 10028
Change-Id: I941af775f9f8e7b4050ef9bf639e0b6d3beb79e1
This commit is contained in:
Tej Singh
2020-01-29 20:44:42 -08:00
parent c2411e978c
commit 5dd1dc991a

View File

@@ -1901,6 +1901,7 @@ public class StatsPullAtomService extends SystemService {
pulledData.add(e);
e = StatsEvent.newBuilder()
.setAtomId(atomTag)
.writeInt(FrameworkStatsLog.CATEGORY_SIZE__CATEGORY__SYSTEM)
.writeLong(json.optLong(
DiskStatsFileLogger.SYSTEM_KEY, /* fallback */ -1L))