OSDN Git Service

Add support for preview versions of platforms.
authorXavier Ducrohet <xav@android.com>
Mon, 20 Jul 2009 21:43:50 +0000 (14:43 -0700)
committerXavier Ducrohet <xav@android.com>
Tue, 21 Jul 2009 01:11:21 +0000 (18:11 -0700)
commit3eafc6f8530a97b4ff0c7805a2d06a786eeab6c4
tree0dbfd8f9ecc851a14ce82c456c0af9567201cdf3
parent9d46db1bae24073af19535a442b5250634368ef3
Add support for preview versions of platforms.

ro.build.version.codename is a new property indicating whether a platform
is in its release form (value = REL) or in development (value = dev branch
name such as Donut). When the codename indicates a development/preview version
then the API level must be ignored and this codename is used as a unique
identifier of the platform.

IAndroidTarget has been changed to return an instance of a new class
AndroidVersion instead of the api level directly. This class helps deals with
the logic of comparing version from targets or devices.

This change impacts all of the sdk manager to deal with targets identified by
codename instead of api level. This in turn impacts everything that relies
on the sdkmanager: ADT (build, launch, project creation), the AVD manager,
the SDK updater.