Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0c8239a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Avoid division by zero error when AppOps history is empty." into...

Merge "Avoid division by zero error when AppOps history is empty." into rvc-dev am: 18f643d4 am: 8679438c am: 23cd45cd am: 755a8603

Change-Id: I28b10e56d1e3f3be91034246a67d215e00bffadf
parents 5a3d3c71 755a8603
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2951,7 +2951,7 @@ public class StatsPullAtomService extends SystemService {
    }

    int processHistoricalOps(HistoricalOps histOps, int atomTag, List<StatsEvent> pulledData) {
        int counter = 0;
        int counter = 1;
        for (int uidIdx = 0; uidIdx < histOps.getUidCount(); uidIdx++) {
            final HistoricalUidOps uidOps = histOps.getUidOpsAt(uidIdx);
            final int uid = uidOps.getUid();