SDK Updater: Store local source properties when installing.

When installing an archive, a "source.properties" file is saved
in the directory that contains all the information from the
source (Source URL, package attributes, archive attributes.)

When loading local packages, these properties are used to
recreate the local package attributes if present. This is
also used to indentify local extra packages.
This commit is contained in:
Raphael
2009-06-26 14:33:40 -07:00
parent 0ec4e5a717
commit 1a2584be47
9 changed files with 305 additions and 268 deletions

View File

@@ -101,8 +101,10 @@ class LocalSdkAdapter {
if (packages == null) {
// load on demand the first time
packages = parser.parseSdk(mUpdaterData.getOsSdkRoot(),
mUpdaterData.getSdkManager());
packages = parser.parseSdk(
mUpdaterData.getOsSdkRoot(),
mUpdaterData.getSdkManager(),
mUpdaterData.getSdkLog());
}
if (packages != null) {