| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If 2 libraries share the same package name, this is now
a build breakage, unless all libraries share the same
package.
This is because the libraries R classes only contain the
resources declared in the libraries themselves (plus
dependencies). Since two libraries could share the same
package name without depending on one another, it's possible
to ensure that creating only one R class would work for both.
(Merging both R class might be possible but is too risky for
a quick fix like this).
If all the libraries share the same package, then a single R
class is created for that package that contains all the symbol
of the app (simpler than merging all the symbols for now)
If a library and the app share the same package name, the
R class for the library is not created (since the R class for
the app contains all resources). This already worked in ADT,
so this changeset only fixes Ant.
Change-Id: I95f0b734ba263051961268d960d59749f5b6e1a5
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Id3685aa63a1e3017b345ec28bbb454656547258c
|
|\ \ \
| |/ /
|/| | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix the rename application package refactoring such that it only
modifies AndroidManifest.xml, not for example a copy in bin/.
Also added a diagnostic information message to the plain Java
package refactoring, shown when refactoring the application
package, explaining that the refactoring will not actually change
the manifest package, and explaining how to invoke the dedicated
refactoring to change it.
Also add unit tests for this refactoring.
Change-Id: I13054e033b9ee44210ca341f00c633d73a4418b4
|
|\ \
| |/
|/| |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
First, don't complain about an unexpected namespace
if the offending attribute is a layout parameter,
since it applies to the parent, not the current view.
Second, for the res-auto warning, report the error
only on the xmlns namespace declaration, not each
usage of that namespace.
Change-Id: If6a7576cf56c0936a24be851cfc48bc54d374ea4
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ia1cef2f50d725fbed5012b46f2a9440b6154df0b
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This is so that users who run tools out of the Android source
tree built for a particular device don't see the suggestion,
since monitor is not yet built during device builds.
Change-Id: I8d68a52f950f928a6a6a349bc5cf4c40b1d2e474
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Non-root device needs to do dexopt into alternative dalvik
cache when uiautomator is called for the very first time; This
may incidentally lead to long response time from XML dump via
UI Automator Viewer; The 40s timeout is long enough but it was
actually not passed into IDevice#executeShellCommand()
* Dumped XML has "rotation" attribute on root node since API
Level 17, we now make use of this to rotate captured screenshot
image
* Fixed an Eclipse warning on unclosed InputStream
Bug: 7564716
Bug: 7564146
Change-Id: Ie46968aff323ed392990febfd89e18f2dbd099de
|
|\ \ \
| |_|/
|/| |
| | | |
SimpleDateFormat"
|
| | |
| | |
| | |
| | | |
Change-Id: I427e498a314aeaeb2a302811bfde1dc719e435d5
|
|\ \ \
| |/ /
|/| | |
|
|/ /
| |
| |
| | |
Change-Id: Icbf4401f65e257c0bdcce3ccde6ef7cc6cb5d53b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This changeset makes two XML editing releated tweaks:
* First, Go To Declaration now works on @+id/ attributes. Until now,
it ignored these with a comment that we're already at the
declaration. However, there are cases where these are also used as a
forward reference, such as in layout parameters for a relative
layout. Now Go To Declaration will allow you to jump from these
layout parameters to the actual element defining the attribute.
* Second, if the user types "wi" in code completion, we offer both
android:width and android:layout_width. However, the layout
parameters were offered second, meaning users would sometimes select
width instead of layout_width, the more likely choice. This
changeset tweaks the order of the results in this scenario to offer
the layout parameters first.
Finally, it also makes some tweaks the the unit test framework to for
example wait for all Android targets to be loaded (this wasn't always
the case which made the test sometimes fail when running, but not when
debugged.) It also updates the target SDK used for golden files to API
16 (from API 12) so some golden files are updated with changes in
available attributes and descriptions.
Change-Id: I84c92961f42fe63d39b6eeff9186d66183d67d6c
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This lint detector finds method declarations which are likely
to clash and accidentally override framework classes defined
on newer platforms
Also, fix method position computation in class files.
Change-Id: If0d03feb55e44816f75938dae3164c53ed5b3183
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It appears Dalvik is very forgiving and doesn't try to preload classes
until actually needed, so there is no need to flag variable and field
declarations, and in fact, patterns used for supporting new and old
versions sometimes declares these methods and only conditionally end
up actually accessing methods and fields, so only check method and
field accesses.
Also fix lint such that it doesn't flag XML resource warnings for
tools URI namespace elements, such as ListView preview layout
selections.
Change-Id: I9018a64845b5b29744926e3d0be371801bbdd167
|
|\ \ \ \
| |/ / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also add XML editor quickfix to set the attribute on
an API violation.
Change-Id: Ife95d73659656e98a6fb1a322354f5fcfcef1888
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This CL updates the various refactorings to properly handle layout
refactoring such that it not only updates custom views, but also
updates fragment references, tool:context references etc. It also
fixes missing manifest updates (such as replacing the
parentActivityName attributes).
Most importantly, it also fixes bugs where the wrong elements in the
manifest could get updated. There are a lot of diffs in this CL
because I basically replaced the old refactoring code (which had a lot
of custom text change and document manipulation code) with code based
on the new resource refactoring, where there is a single iteration of
the XML documents. This also improves the emitted refactoring elements
such that it only lists each file once.
Also updated the unit tests to check additional scenarios; adding a
second activity with the same prefix as the first is what revealed the
broken document handling in the old code.
Change-Id: I7c5959ca6b046ce3dab566663988cdd0389b0e5b
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: I4683dc68a9f74ad8a2c709c8313c17ccbfbd64a1
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: I25cbf7fceffb521d63f766e37b1788f8a85e6fc4
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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: I0e96e4b3d5d9c3fa14e4f84d73a6bd023f44162a
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
The inefficient weight detector looks for horizontal layouts with
weights where all the children are layouts. It didn't have a very good
heuristic for finding out whether all children are layouts; it just
looked for whether the tag name contains "Layout".
This changeset generalizes this a bit, adding other layouts, as well
as <fragment> tags to the lint check.
It also updates the Master/Detail template to set the baseline
alignment attribute to false (to avoid triggering the updated lint
check), as well as android:textIsSelectable to clear another recent
new lint rule.
Change-Id: I887962b5e29a9ad0c5b5c01970b0c66f884125d8
|
|\ \ \ \ \ \
| |/ / / / / |
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
Change-Id: Ic9317e88e94dc13f1c11f49a5300349e28f3c747
|
|\ \ \ \ \
| | |/ / /
| |/| / /
| |_|/ /
|/| | | |
|
|/ / /
| | |
| | |
| | | |
Change-Id: Iaefb640f35bdad1dc5d4be8565c2cafdc02e8324
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Ib16fbe90cf73d924fc4947ff8a358fc0431d4abc
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | | |
Change-Id: I6da728d079975fa19f1ae816fa585031a9c6fe75
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These are now added by build.git/target/product/sdk.mk; other products
need to build the emulator too, so adding them here isn't appropriate.
Bug: 7556265
Change-Id: I85b1ce8b565f23d0ed10979628760c3965f4cceb
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|