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

* commit 'efd8a85d30c35ca4a274835f10e371289bb9bc5e':
  Fix bug where checking-in more than once would cause an infinite loop in UsageStatsService
This commit is contained in:
Adam Lesinski
2014-11-04 22:37:03 +00:00
committed by Android Git Automerger

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) {