Merge "fix array index out of bounds"
This commit is contained in:
committed by
Android (Google) Code Review
commit
2591ce4d9f
@@ -469,7 +469,7 @@ class InstantAppRegistry {
|
||||
return;
|
||||
}
|
||||
final int appCount = uninstalledAppStates.size();
|
||||
for (int i = 0; i < appCount; i++) {
|
||||
for (int i = appCount - 1; i >= 0; --i) {
|
||||
UninstalledInstantAppState uninstalledAppState = uninstalledAppStates.get(i);
|
||||
if (!criteria.test(uninstalledAppState)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user