Merge "Avoid division by zero error when AppOps history is empty." into rvc-dev am: 18f643d4f2 am: 8679438c0b am: db4cef7651
Change-Id: I49a6d69d6612b3eb7f582a8e81a45f64edeee5c3
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user