| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
A simple unit test to display that an update is available.
This will get more complex later. The cache is mocked and
the whole test should be independant of the user's actual
settings and local cache, with no network access.
Change-Id: I58ff45895916a14a10f501a9bd664782d777ed42
|
|
|
|
|
|
|
| |
Similar issue fixed by patch d1daeae66a0ebdf53076038dc4a1fe099c4141fb
but this time for the AvdManager.
Change-Id: I10af39d364e427d593078f8bfa23bba3ba7e1558
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ieffc0fd8c88705616197bdb971fc66cb9c7f536c
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: Id7eeaa46d24385ee231c8db7a542947b5ee960b6
|
|/
|
|
| |
Change-Id: Ia5a57139cf76cec559c557011a2acee2af58457a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is just a refactor to move classes around.
No functionality is actually changed.
The sdkman2 package contains classes that are now
sorted between "ui" and "core" packages. The core
stuff has no UI dependency and can be used in
unit tests, whereas the ui stuff needs SWT somehow.
In a later CL some of the UI stuff will be changed
to make it easier to mock for testing.
Change-Id: I86606df7992de6ca6ae1df95f7b712cbba4fd3b6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Eclipse 3.8/4.2 requires that any method which overrides another
method with a @NonNull parameter (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381443).
This changeset adds @NonNull on various overriding methods in newly
added code such that Eclispe 4.2 doesn't show errors.
Change-Id: Ice4a4b4dc31ba68c4e0911bb37c15da090076a0d
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the SDK Manager prompts the user for HTTP Auth
or NTLM auth, the API says the result should be null
if the user cancelled.
It wasn't, it was instead empty string fields and
the download would abort the a "failed: no content"
error in the log.
This fixes the UI to respect the convention.
It also makes sure that if the HttpClient call
fails due to the user cancelling, we don't try
to fallback on the java.UrlConnection method.
Change-Id: Ibf1807f4becd40dbced17f851b3fdc5b394788ea
|
|
|
|
|
|
|
|
|
|
| |
Removed ILogger from ide_common
Removed ISdkLog (and implementations) from sdklib
Moved all existing code to com.android.utils.ILogger
which is located in common.
Change-Id: Icd674d4b8d10f6ae8b60a83acb43cc53c7a52137
|
|
|
|
|
|
|
| |
Move stuff out of sdklib into common and ide_common.
Remove androidprefs and move the one class into common.
Change-Id: I71d126a13cf2ba413692e29616f4968a37d7b33a
|
|
|
|
| |
Change-Id: I6b169f0ef21d8f45da35dd10a7f76b30f3defcbb
|
|
|
|
| |
Change-Id: I3b931ee511dc157320ca8658fe421fe28a1ff387
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move resources and com.android.util.Pair into layoutlib_api
where they belong since layoutlib depends on them and we need
to control the API.
Made a copy of Pair to stay in common.jar but moved it to
com.android.utils.Pair (the one in com.android.util.Pair is
marked as deprecated to prevent usage where applicable).
Also moved XmlUtil and PositionXmlParser to com.android.utils
to match Pair.
Change-Id: I21d7057d3f2ce604f86a3bb1fa3c130948c93b89
|
| |
| |
| |
| | |
Change-Id: I0e77931a034af5d005e73c4f54818595c0720ab3
|
|/
|
|
| |
Change-Id: Idb8807e07fddc912144b962de0a01b729071c92b
|
|
|
|
| |
Change-Id: Ia046d63aac7800326effbe61364d2efa35581633
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Take advantage of the new device specifications and provide a much
simplified AVD creation dialog, while retaining the old dialog for use
with AVDs created prior to this.
Change-Id: I2ab3613d6a1b58a96c330dc1d8c1df36afc88058
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
We need to keep this around so people can edit the old AVDs they have
but want to make it clear this for legacy AVDs only.
Change-Id: If768ae66e98b6e76f1b7f2b3f7b0e5db2bd33174
|
|/
|
|
|
|
| |
Part of fix for http://code.google.com/p/android/issues/detail?id=35640
Change-Id: I75834928033d08936c15f354a630815276895242
|
|
|
|
| |
Change-Id: I39e4747b818d0163d8f51c29d37424078580f247
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
An issue that showed up with the cache mechanism in Tools r20
is that users are not notified of tools updates unless they
clear their cache. The issue is that the SDK Manager first tries
to load an existing cache for a fast startup and then performs
a network check. However it doesn't clear the sources already
memory loaded in memory and thus skips the actual network check
and simply uses the first loaded result. This changes it so that
the network check actually happens even if there's a source
loaded in memory.
Change-Id: I3fde77b9aec8ccbd1cf66f79f99f8c5f4e84d900
|
| |
| |
| |
| | |
Change-Id: Iedb5d79f164453b9ea93046a1cfddc945b84c790
|
|/
|
|
| |
Change-Id: I59697ef605e33a9216ed318190060e71ce0df579
|
|
|
|
| |
Change-Id: Ib915ddf7a165bd75a46a12012190aa0ae6c9df33
|
|
|
|
| |
Change-Id: I960496610b3c43e16ef58c949a688241943a7153
|
|
|
|
| |
Change-Id: If7b142ba9da44ccc5ec4976ec2c9375f6888983f
|
|
|
|
| |
Change-Id: Id8f0c659b9b0ff4a2ff8605265338cc2a5b05d1a
|
|
|
|
| |
Change-Id: I4e82e93563529540d31af8809aba79f40610fa2e
|
|
|
|
|
|
| |
SDK Bug: 6710759
Change-Id: Iffecdd16b7ef52ffbe858e065716a7a6125a6982
|
|
|
|
| |
Change-Id: Ic12af00eb01de807e3e0a3dd7b06aa718cad781d
|
|
|
|
| |
Change-Id: Ib67a7b8f123302ee75eefcb45e9cac233f026f28
|
|
|
|
|
|
| |
Used to support the enum touch screen type.
Change-Id: Ia3419527a391b35f7e3c8a4853c8603907defe39
|
|
|
|
|
|
|
|
| |
A couple of occurences were displaying full revision
for updates (e.g "Update available: rev. 20.0.0")
instead of the short version (e.g. "rev. 20").
Change-Id: I593ba952df714b50e548dbb447aaf9ac4e4192ca
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This can happen when starting an emulator from
the AVD selector (or the AVD Manager window.)
Change-Id: I6f5098bddc0fa54d89c164e98c51cd80509bbaf7
|
|/
|
|
|
|
|
|
|
|
| |
This extends the addons_list XSD to support both
addons sites and OEM's system-image sites.
Then this defines a new schema "sys-img" XSD for
a site that offers only system images.
Change-Id: I77ff56c4c70f57ab8ea44cf4ea3094125653737b
|
|
|
|
|
|
|
| |
This changeset fixes various code fragments opening
resources without closing them.
Change-Id: I6ed48a32dc5de4c11cab394dd3883ebbb54d2938
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eclipse 4.2 includes analysis support for @Nullable and @NonNull
annotations. However, it requires these annotations to be *repeated*
on every single method implementing or overriding a superclass or
interface method (!).
This changeset basically applies the quickfixes to inline these
annotations. It also changes the retention of our nullness
annotations from source to class, since without this Eclipse believes
that a @NonNull annotation downstream is a redefinition of a @Nullable
annotation.
Finally, the null analysis revealed a dozen or so places where the
nullness annotation was either wrong, or some null checking on
parameters or return values needed to be done.
Change-Id: I43b4e56e2d025a8a4c92a8873f55c13cdbc4c1cb
|
|
|
|
| |
Change-Id: I7af78e81e5433396c7a1039782ab8ceda35187a0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
SDK Manager > Tools > Options now has a checkbox to
deactivate the download cache. It also indicates the
path to the cache directory, its size and a button
to clear the cache immediately.
This only affects the sdk manager files for the download
cache, it doesn't clear other cached files such as the
lint binaries.
Also restructured the settings controller a tiny bit.
There's more that could be restructured here but it's
not a priority right now.
Change-Id: I474e6155bdc041770f3f7664366d0d92bd96d9b0
|
|
|
|
| |
Change-Id: I03c75be4d624f841c6f4c0ba93b0951bc8da8850
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the sdk manager config file has no proxy port/host
info, do not set the corresponding java properties to
empty strings.
This means if the sdk manager settings are empty, whatever
is the default from Java OR from the Eclispe proxy settings
will be used by the manager.
Change-Id: I17bbc6faed4726fc4b6aa9b29ded7d698ed81283
|
|
|
|
|
|
| |
SDK Bug: b/6043405
Change-Id: I2c189ef30d68738de8becff874343296ad9c412b
|