aboutsummaryrefslogtreecommitdiffstats
path: root/changes.txt
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-02-15 12:39:14 -0800
committerTor Norbye <tnorbye@google.com>2012-02-15 12:39:14 -0800
commit5ae5cebb6a27a8083a0b28f4706c205696fda21e (patch)
treefddbe5330e74ad8d39718d657ecbb6d4cc35533f /changes.txt
parenta4c4ae4f29bc5d8c5f327f5be089de0f6f832060 (diff)
downloadsdk-5ae5cebb6a27a8083a0b28f4706c205696fda21e.zip
sdk-5ae5cebb6a27a8083a0b28f4706c205696fda21e.tar.gz
sdk-5ae5cebb6a27a8083a0b28f4706c205696fda21e.tar.bz2
Update changes.txt for ADT 17
Change-Id: I394036a7025a2cbd050aa6916204a09bcce83bae
Diffstat (limited to 'changes.txt')
-rw-r--r--changes.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/changes.txt b/changes.txt
index 710632c..7a7df55 100644
--- a/changes.txt
+++ b/changes.txt
@@ -14,7 +14,31 @@ Revision 17:
* Lint supports library projects, so for example the unused resource
check will properly handle resources declared in a library project
and referenced in a downstream project.
+* Lint warnings can be suppressed in Java code with the new
+ @SuppressLint annotation, and in XML files with the new tools:
+ namespace and ignore-attribute.
* New lint checks:
+ * Find Android API calls that require a version of Android higher
+ than the minimum supported version. You can use the new @TargetApi
+ annotation to specify local overrides for conditionally loaded
+ code.
+ * Find object allocations within onDraw, onMeasure and onLayout
+ calls
+ * Find usages of HashMap<Integer,X> which can be replaced by the
+ more efficient SparseArray, SparseIntArray or SparseBooleanArray
+ * Find typos in XML namespace declarations, as well as unused custom
+ namespace declarations and usages of custom namespaces in library
+ projects which do not yet work
+ * Find manifest files which declare more than one <uses-sdk>
+ elements, or which fail to declare minSdkVersion or
+ targetSdkVersion
+ * Check dialog button order such that OK/Cancel are in the right
+ order (depending on the target version of Android), that they are
+ using the standard case ("OK", not "Ok" or "ok" etc), and that
+ there aren't any Back buttons.
+ * Check menus to ensure that they are using "ifRoom" instead of
+ "always" for the showAsAction attribute (unless it's used
+ sparingly)
* Find hardcoded android:debuggable attributes on <application>
elements. This can lead to accidentally leaving debug information
in published applications.