OSDN Git Service

SDK Manager: fix to suggest platform-tools install.
authorRaphael Moll <ralf@android.com>
Tue, 12 Oct 2010 20:26:54 +0000 (13:26 -0700)
committerRaphael Moll <ralf@android.com>
Tue, 12 Oct 2010 20:26:54 +0000 (13:26 -0700)
commit528f85e5c67a5d4e6fe0db9b80493f66c45064ff
tree811cead9d69c86c17fa49b29a610ded096c56f51
parent7213f6954a245b6d67aec0cd7281f1c2deec1d79
SDK Manager: fix to suggest platform-tools install.

The way the updater currently works, it will only
generate the source.props of a new package based on the
attributes it knows from that package. That means mean
Tools r7 is updating tools, it will not add the proper
min-platform-tools-rev to the new Tools r8 package.

When "Update All" is selected, we try to do 2 new things:
- make sure to lool at local *existing* packages for
  potential missing dependencies, and suggest them for
  install.
- if a package doesn't have a min-platform-tools-rev set,
  suggest the higest revision available.

Change-Id: I76cdbc2818133429b2726d3127eedd7e65579a7e
sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ToolPackage.java
sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/repository/UpdaterLogic.java