Fix typo when parsing external platform version from Settings.

May fix http://b/2569139

Change-Id: I437f614fd25512bd461812feddb091edcd12ccb7
This commit is contained in:
Bryan Mawhinney
2010-04-23 14:38:31 +01:00
parent 2adec762fb
commit 2131a3caa8

View File

@@ -8802,7 +8802,7 @@ class PackageManagerService extends IPackageManager.Stub {
}
String external = parser.getAttributeValue(null, "external");
if (external != null) {
mInternalSdkPlatform = Integer.parseInt(external);
mExternalSdkPlatform = Integer.parseInt(external);
}
} catch (NumberFormatException e) {
}
@@ -9952,4 +9952,3 @@ class PackageManagerService extends IPackageManager.Stub {
android.provider.Settings.Secure.DEFAULT_INSTALL_LOCATION, PackageHelper.APP_INSTALL_AUTO);
}
}