Merge "Exit the loop at the right time" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-04-02 21:07:37 +00:00
committed by Android (Google) Code Review

View File

@@ -10227,7 +10227,7 @@ public class PackageManagerService extends IPackageManager.Stub
}
if (changedAbiCodePath != null && changedAbiCodePath.size() > 0) {
for (int i = changedAbiCodePath.size() - 1; i <= 0; --i) {
for (int i = changedAbiCodePath.size() - 1; i >= 0; --i) {
final String codePathString = changedAbiCodePath.get(i);
try {
mInstaller.rmdex(codePathString,