| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
|/
|
|
|
|
|
|
|
|
| |
Fixes 41685: Rename Package Breaks BuildConfig and Manifest.
It also cleans up the refactoring in that it now only adds
import R statements to classes that actually contain an R
reference.
Change-Id: Ia0e2833bc9e25f92be33994047c4527c9e3e9dc1
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Also remove the need to double-click to see a stack.
Change-Id: I076179b09350d1c85614c7325e2faa4848b4e8d8
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Ia48d41c50269c312784ef7723936af1dabcd4887
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change updates the Asset Studio launcher icon generator to the new visual
style described in the Android Design guidelines. It also adds XXHDPI icon
creation for launcher icons, which is important for some newer devices such as
Nexus 10.
The change also removes shape selection for notification icons, since this only
affected pre-Gingerbread devices. Pre-Gingerbread icons are still generated,
but they now always have a square shape for simplicity.
Finally, this change removes LDPI for all icon generators. LDPI is much less
relevant today than it was a few years ago, and allowing platform scaling
of MDPI resources is normally an acceptable alternative to providing LDPI
specific resources.
Change-Id: I65afc5b38b25170604cf69ba355816288d30d6d5
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Lint already checks that classes registered in the manifest (such as
activities and services) exist and are instantiatable.
This lint check expands this check to also make sure that custom views
and fragments referenced in layouts also exist, as well as class names
registered in analytics config files (requested in issue 41567).
It also fixes the typography detector to not flag IDs as needing
em dashes.
Change-Id: Idd42be60dae6c0747324d600d15b01d6d8a3240f
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This implements
41339: Forgetting .commit() after .beginTransaction()
Also renames the RecycleDetector to something more generic
since it checks for other types of cleanup as well.
Change-Id: I19ca6537ba88745845ad452f87b6562085a47fe5
|
|\ \ \
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| | |
Adds a lint check which flags using resource ids for versionName,
versionCode, minSdkVersion and targetSdkVersion in the manifest.
Change-Id: I5b4e25d0b114cdf84f446a193fe5d3a095b2f415
|
|\ \
| |/
|/| |
|
|/
|
|
|
|
|
|
|
| |
Subclasses may want to accept constructor arguments, override some of the
getters to return them, and then run lint. But since run is private, even
subclasses are unable to invoke a customized lint.
Change-Id: I0a5db348e206ed3d9402a1b3b60bef3fa201aa15
Signed-off-by: Jonathan Rockway <jrockway@google.com>
|
|\ |
|
|/
|
|
|
|
|
|
| |
pref_headers.xml now goes through variable substitution.
Prior to this fix, the generated activity crashes on tablets.
Change-Id: Iddff16c5f58ae2414620800fb4f1c34e0e4bb9f5
|
|\ |
|
| |
| |
| |
| |
| |
| | |
It's always null.
Change-Id: I2a465dd41653398fc747f531f963414964c9da14
|
|\ \
| |/
|/| |
|
|/
|
|
| |
Change-Id: Id785c8527eb1602b2b6f29e09fb13f628abaf652
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Ran some static analysis on the lint code and fixed
various issues - some typos, made some fields final, made
some methods static, sorted modifier order etc.
Change-Id: Ibdcdec5745f040eb7b0880cf6999c0f0ea7f7e6f
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: Ib34f56ee1e93534500ab9fcad7d3e111af440a8b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This CL contains a couple of tweaks to the
refactoring support. First, update <declare-styleable>
declarations for renamed custom views. Second, update
XML in downstream projects from library projects.
Third, allow invoking the rename refactoring from XML
files from class attributes and custom view tags as well
(until now it applied only to resource names.)
Finally, update unit test golden file format to include
whether each change is enabled, and tweak the code to
disable R class changes to handle some additional
scenarios.
Change-Id: I74ccbe1b0f15ec10429f8dda7674f51f9a6f83cd
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This lint check looks for missing recycle() calls on resources such as
TypedArrays, MotionEvents, and Messages.
41140 New Lint Check: Check Recycling VelocityTracker
41138 New Lint Check: Check Recycling Message
41137 New Lint Check: Check Recycling MotionEvent
41136 New Lint Check: Check Recycling TypedArray
In addition, it also flags cases where a method is called on a resource
after the resource has been recycled.
Change-Id: Ia06a1779519971d5459f1cd98914a6aededc4b83
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 39835
Change-Id: Ied3f43b76d2bb1bdba478f57122ec0ef4d967ae4
|
|\ \ \ \
| |_|/ /
|/| | | |
|
|/ / /
| | |
| | |
| | | |
Change-Id: I8e4bdaf3f9d86060bbe1b2dc6c6d6ec7f2fce3ac
|
|\ \ \ |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
There is usually a memory allocation failure on Windows with
larger amounts of emulated RAM due to the use of a 32 bit emulator.
Change-Id: Id0e59739e77c0aaf2776d7d883d6524de7255de2
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixes http://code.google.com/p/android/issues/detail?id=41188
Change-Id: I568b6c9322ce7ecc2d560999719d79ae68722c06
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The atrace executable on the device now provides a list of
supported categories with the command atrace --list_categories.
This CL first tries to determine which version of atrace is
present on the device by running the list categories command
and attempting to parse its output.
For the older version, existing static "Capture Options" dialog
is displayed. For the newer version, only the supported categories
are displayed.
Change-Id: I300e7e652a9ae99f47d61a1669604802b74054a4
|
|\ \ \ \
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: Ic10e356e4a878cb633bf72f7b43ad93c0b834022
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This fixes
41154: Template Android Application Project for API v3 reports AAPT
problem with android:allowBackup="true"
Change-Id: I74b4cd0f8df9a74fe9221250cc83b1d15821ce51
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Also handle case where $ANDROID_BUILD_TOP is set better.
Change-Id: Ib39f275417738af9145697e19f4de085255c1655
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the currently displayed frame is changed, we immediately
refresh the tree displaying the list of calls, and the frame summary
view displaying the frame buffer as part of the frame change event
handler.
This CL moves these two operations to a separate task that is
scheduled after a short delay (250 ms). This allows us to combine
multiple frame change events and respond just once for all of them
together.
Change-Id: I4edade1e55cbd7394cba03d97b2ee61ca3a258b6
|
|\ \ \
| |_|/
|/| | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The unit tests for lint have lived in the lint/libs/lint_checks
library, but that's not a natural place since the cli library depends
on the lint_checks library, yet the lint_check *tests* also depend on
cli. Furthermore, the tests also test stuff in the cli library. Thus,
move the test sources over to the cli library, which also pulls in the
lint_checks library.
Change-Id: Ia8527ea894b287915ad12c04c16daf80ace67bdc
|