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:
committed by
Android (Google) Code Review
commit
efd8a85d30
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user