Merge "Fix NPE in PackageManagerService."

This commit is contained in:
narayan
2014-05-21 20:14:56 +00:00
committed by Gerrit Code Review

View File

@ -5682,6 +5682,7 @@ public class PackageManagerService extends IPackageManager.Stub {
}
ps.cpuAbiString = adjustedAbi;
if (ps.pkg != null && ps.pkg.applicationInfo != null) {
ps.pkg.applicationInfo.cpuAbi = adjustedAbi;
Slog.i(TAG, "Adjusting ABI for : " + ps.name + " to " + adjustedAbi);
@ -5695,6 +5696,7 @@ public class PackageManagerService extends IPackageManager.Stub {
}
}
}
}
return true;
}