OSDN Git Service

SDK Manager: Remove static package class map.
authorRaphael Moll <ralf@android.com>
Mon, 30 Aug 2010 22:10:15 +0000 (15:10 -0700)
committerRaphael Moll <ralf@android.com>
Mon, 30 Aug 2010 22:10:15 +0000 (15:10 -0700)
commit626477a2fc04a9c4c9c863e5ea0342811553f5dd
tree9dd919530e594e93d34ab787eae3c5d6b8c78078
parent4f037e01aae3a7be9ac92fcd1dcd09fdbdce3e17
SDK Manager: Remove static package class map.

When using the manager in --no-ui mode, one can use
--filter to select a list of package types to install.
This list is based on the array in SdkRepository constants
and it used need a static map to the actual classes to do
the filtering. The static map is now computed at runtime
so that we don't risk forgetting to update it.

Change-Id: I7b091c36942d3b9358595f2194f2edc76c517245
sdkmanager/libs/sdklib/src/com/android/sdklib/repository/SdkRepository.java
sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/UpdaterData.java