Merge "Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService" into lmp-mr1-dev

This commit is contained in:
Adam Lesinski
2014-11-04 22:32:30 +00:00
committed by Android (Google) Code Review

View File

@@ -119,6 +119,7 @@ class UsageStatsDatabase {
if (!files.valueAt(start).getBaseFile().getName().endsWith("-c")) { if (!files.valueAt(start).getBaseFile().getName().endsWith("-c")) {
break; break;
} }
start++;
} }
if (start == fileCount - 1) { if (start == fileCount - 1) {