resolved conflicts for merge of 368fdba4 to master
Change-Id: I42b7b433c86a71a5da5db67109f056a280077c9d
This commit is contained in:
@@ -2500,7 +2500,9 @@ class PackageManagerService extends IPackageManager.Stub {
|
||||
return;
|
||||
}
|
||||
|
||||
Log.d(TAG, "Scanning app dir " + dir);
|
||||
if (false) {
|
||||
Log.d(TAG, "Scanning app dir " + dir);
|
||||
}
|
||||
|
||||
int i;
|
||||
for (i=0; i<files.length; i++) {
|
||||
@@ -2866,10 +2868,8 @@ class PackageManagerService extends IPackageManager.Stub {
|
||||
TAG, "Scanning package " + pkg.packageName);
|
||||
if (mPackages.containsKey(pkg.packageName)
|
||||
|| mSharedLibraries.containsKey(pkg.packageName)) {
|
||||
Slog.w(TAG, "*************************************************");
|
||||
Slog.w(TAG, "Application package " + pkg.packageName
|
||||
+ " already installed. Skipping duplicate.");
|
||||
Slog.w(TAG, "*************************************************");
|
||||
mLastScanError = PackageManager.INSTALL_FAILED_DUPLICATE_PACKAGE;
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user