| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I55c69a46fb7fa21701025f2df4e4fcc3bfd3ef96
|
|
|
|
|
|
|
|
|
|
| |
Move folders around to match default gradle/maven
folder structure.
The custom structure confused some IDEs when importing
the project as a Gradle project.
Change-Id: Ibcee26e6c07d7a53a5d96a33a1e290832ee9928d
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The property name is "renderscript.target" and is to
be located in project.properties.
If not present, the minSdkVersion (or 11 if lower)
is used.
Change-Id: Ic243474ce1d5ce2235cbfdfc45092ed8a5ffbbf7
|
|/
|
|
| |
Change-Id: Ic9317e88e94dc13f1c11f49a5300349e28f3c747
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
AVD have a root ini file in .android/avds/name.ini
with a "path" absolute path to the avd config directory.
This does 2 things:
- force the file to use ISO-8859-1 (aka Latin1) encoding.
- add a "path.rel" key with a relative path to the .android
folder if the avd directory is at its typical location.
The loading logic is:
- try to use the "path" key if it points to an existing
directory (as an absolute path).
- otherwise use the "path.rel" key as a path relative
to the .android folder if present.
SDK Bug: 40498
Change-Id: I2364c2ee69f48816f3e6f6f33c9fa43170e05587
|
|
|
|
| |
Change-Id: I483f1e3dd02a1ac61a06707bcf33ca1c9bb6f034
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I8ff04988b2c2cefd073fe81d44eb042e4af70bbc
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In tools 21.0.0, hitting refrehs in the AVD Manager will
create the list display to blink rapidly several times
in a row. Same happens when a new AVD is created from a
device.
The issue is that the DeviceManager reparses and rebuilds
its internal lists from scratch for every single call to
getDevices() and getDeviceStatus(). Each time it notifies
the listeners, and consequently the AVD Manager rebuilds
its table. 2 fixes for that:
- First use a boolean guard to prevent recursive refreshes
of the avd manager table in AvdSelector.
- Second fix DeviceManager to not rebuilt its lists all
the time.
This also changes DeviceManager so that callers create
one instance that contains all the lists and there no static
data shared between the instances.
This is more deterministic. It shifts the responsibility to
the callers to pass around the same instance if they want the
data to remain consistent.
Change-Id: Ia0c104395fe599071892e24bc234f8cffde9f635
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SDK Bug: 36987
Bug was that TaskHelper would fail when parsing a pk
revision with an RC value. A quick fix was done in CL
6d266a1bf5992d27fff4400c5d2bd30681c65c3d a while ago.
Revisit the fix by using the new FullRevision object
to parse the value and create a DeweyDecimal; should
avoid us trouble if we later change the format.
Change-Id: I5ad1449ebd2606255c27485e60b714b5cf83a308
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
AvdInfo.mProperties should never be null.
The constructor assumed it could but then the
code below uses it without guard in multiple
places. Solve this by making sure the constructor
doesn't set the map to null.
SDK Bug: 40400
Change-Id: I82f4b4c3bfa05ab3b3f57463fdaf5b17273faf56
|
| |
| |
| |
| |
| |
| | |
devices.xml was not updated when devices were being deleted.
Change-Id: Ie1c7253da1c5f64ee5d5f26b5e36b0fbc6443671
|
|/
|
|
|
|
|
|
|
| |
The combo box always had the values "Hardware" and "Software", but it was
being compared with the id for ButtonType, which was "hard" or "soft".
http://code.google.com/p/android/issues/detail?id=39941
Change-Id: I3b7234a7ddf46d11f5c065a86c42c8cf2c73da12
|
|
|
|
| |
Change-Id: I53416ed62f55422f450a2d9dc5e61b53b9bcb7f0
|
|
|
|
|
|
|
| |
The hashCode() routine relies on the items being retrieved in a
stable sequence.
Change-Id: I9a3ffb79bfaa0eb52416f6b06343de7dc89193b2
|
|
|
|
|
|
| |
Plus some nullness annotations.
Change-Id: Ia75c6ffa5d6296c991fc86fec050f285b9143429
|
|
|
|
| |
Change-Id: I30fe565366b3bf66f973d88c589fea284d9e0f86
|
|
|
|
| |
Change-Id: I07c8b468e9a2c900b7cadd04f256dc67128401f7
|
|
|
|
| |
Change-Id: If02d0b97c294d9821a1c914547782a08b1d256fb
|
|
|
|
| |
Change-Id: I34ffff7d7828c171444c40e48fc3dcf093391324
|
|
|
|
|
|
|
|
|
|
|
|
| |
If anything goes wrong with aapt, we emit an error message that we
could not execute aapt and to check the install location.
However, if the file exists but isn't executable, or if a parsing
error happens in the new SymbolLoader/Writer, the error message is
misleading. This changeset makes the error message more specific if it
looks like the root cause isn't a missing aapt installation.
Change-Id: Ifb09a2dd736f6a93c0f167162826e1ad6e3d2a63
|
|
|
|
| |
Change-Id: I5b85b01fb62d659ed75ee998da780feaea75c51c
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ib2bb0b69e08a639b7469f1c9a67e97e8cdd6eb48
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using the new --output-text-symbols from aapt the build
system now generates the R class for libraries manually
based on the symbols exported by the libraries and the
final values computed by aapt when using all the resource
folders.
Because only R.java is concerned, the Manifest class is
now included in the library jar file.
Also added a new test apps that uses instrumentation to
verify the build system.
Change-Id: Ic436ea8eb070844e9db8b3b2620fbf665839d40b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset changes the "reuse" behavior of the layout editor to no
longer reuse the same layout editor when you are switching between
alternate layout files for the same layout resource, such as
layout/foo.xml and layout-land/foo.xml. This lets you more quickly
switch back and forth and inspect differences between the layouts,
etc. There is also an option in the Android > Editors panel to turn on
single editor sharing again.
The biggest part of the changeset, by far, is a cleanup of the
ConfigurationComposite class and associated code. This was necessary
not just to support the above feature (where we need to "back out" UI
changes when you've made a configuration edit which results in a
different file getting opened), but it's also an important preparation
for multi configuration editing, where we need to be able to switch
configuration settings in and out of a single configuration editor,
etc.
The configuration data itself is now in a separate Configuration
class; the UI is in ConfigurationChooser, and the configuration
matching code is in ConfigurationMatcher. There's also a new Locale
class to track language/region pairs instead of using 2-element
ResourceQualifier arrays. The various menu listeners are also in
separate UI classes now. While there are new classes, most of the
configuration matching algorithm is unchanged, just moved to a new
class and the UI syncing and configuration data lookup replaced.
Bitmasks are used to handle configuration changes, such that updating
multiple related attributes (e.g. a rendering target change also
causes a theme change if say Holo isn't available) can now be processed
just once with a single change call.
(Various other cleanup too.)
Change-Id: I04ac969f46824321be3db0c487ef077c03cc6012
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
The change is that the manifest merger will only accept a codename
if it's invoked in a context that can resolve that codename to an
API level. This allows to produce an error on bogus codenames and
to properly check that the API levels match appropriately.
Change-Id: Ic70c0c3690b13d94dba81bb78cc09386016b2ef1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset moves most constants into the SdkConstants
class, and gets rid of AndroidConstants and LintConstants.
It also migrates all non-ADT specific constants from
AdtConstants into SdkConstants. It furthermore moves various
other constants (such as those in XmlUtils and ValuesDescriptors)
into the constants class. It also fixes the modifier order
to be the canonical modifier order (JLS 8.x).
Finally, it removes redundancy and combines various constant
aliases such that we don't have both NAME_ATTR and ATTR_NAME
pointing to "name", etc.
Change-Id: Ifd1755016f62ce2dd80e5c76130d6de4b0e32161
|
| |
| |
| |
| |
| |
| |
| | |
Similar issue fixed by patch d1daeae66a0ebdf53076038dc4a1fe099c4141fb
but this time for the AvdManager.
Change-Id: I10af39d364e427d593078f8bfa23bba3ba7e1558
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Id7eeaa46d24385ee231c8db7a542947b5ee960b6
|
| |
| |
| |
| |
| |
| |
| |
| | |
Some extras have just a single "sample" directory
instead of having a samples/<sample_name> directory.
Support this and list them as valid samples.
Change-Id: I25bc59db0b9853d98385cca98f70bf261558fd8b
|
| |
| |
| |
| | |
Change-Id: Ia5a57139cf76cec559c557011a2acee2af58457a
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: Ib3a4f7c0c479b4c8c7f2e27d47ba756969d4f0b4
|
|/
|
|
| |
Change-Id: I5996187d0ccd002d9ec3fe8c0fa5d17a96671431
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I54e99cff338a62147af3247446148d88a73a4ddb
|
| |
| |
| |
| |
| |
| | |
Also add a simple unit test.
Change-Id: I8ed3dfbea07578528036f1dabd75c18f3161819c
|
|/
|
|
|
|
|
|
| |
The SdkManager.hasChanged method was supposed to
only look at direct folders in platforms and
add-ons, not regular files.
Change-Id: I87c3d51bfd7bd2578285f957a9838fadec703401
|
|
|
|
|
|
| |
Required when using Eclipse 4.
Change-Id: Ie5f95794392ce46e0b04ae67b5eaf07efb19fbac
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I248194b5764cf801e52ebd35c6b5963facf31a3e
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Makes UrlOpener private. All callers should use the
DownloadCache class, and UrlOpener must remain
purely an implementation detail.
That's because UrlOpener is just a bunch of static
whereas DownloadCache is an instance that gets passed
around and can be overriden for testing.
Change-Id: Idacd328616f6c11df298f4e2b8f4ac7668cf6ffd
|
|\ \
| |/ |
|