Merge "Offer to scan cluster packages at boot."

This commit is contained in:
Jeff Sharkey
2014-07-08 08:09:57 +00:00
committed by Android (Google) Code Review

View File

@@ -4110,7 +4110,8 @@ public class PackageManagerService extends IPackageManager.Stub {
}
for (File file : files) {
if (!isApkFile(file)) {
final boolean isPackage = isApkFile(file) || file.isDirectory();
if (!isPackage) {
// Ignore entries which are not apk's
continue;
}