Offer to scan cluster packages at boot.

Bug: 14975160
Change-Id: Ib637f68354b3d4ce4b5b23d875d8e94ccd497fd2
This commit is contained in:
Jeff Sharkey
2014-07-08 01:04:51 -07:00
parent d746057f24
commit 65b1a7c0ba

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;
}