aboutsummaryrefslogtreecommitdiffstats
path: root/lint/libs/lint_api
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2012-08-29 11:03:03 -0700
committerTor Norbye <tnorbye@google.com>2012-08-29 11:45:18 -0700
commita8d4bccbf9a68cdb779d6023bec0719224d4dcce (patch)
treeddb2c25994a8e73bb97a574ea95007add6137a0d /lint/libs/lint_api
parentc7424881bfc0a9c69c615656f0d0dff2e19c3385 (diff)
downloadsdk-a8d4bccbf9a68cdb779d6023bec0719224d4dcce.zip
sdk-a8d4bccbf9a68cdb779d6023bec0719224d4dcce.tar.gz
sdk-a8d4bccbf9a68cdb779d6023bec0719224d4dcce.tar.bz2
Add lint check for potential string locale errors (issue 36822)
Change-Id: I320af69286e7f0bcee395419acfeea7ed8f8d384
Diffstat (limited to 'lint/libs/lint_api')
-rw-r--r--lint/libs/lint_api/src/com/android/tools/lint/detector/api/LintConstants.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/lint/libs/lint_api/src/com/android/tools/lint/detector/api/LintConstants.java b/lint/libs/lint_api/src/com/android/tools/lint/detector/api/LintConstants.java
index c43a8ed..e4975ae 100644
--- a/lint/libs/lint_api/src/com/android/tools/lint/detector/api/LintConstants.java
+++ b/lint/libs/lint_api/src/com/android/tools/lint/detector/api/LintConstants.java
@@ -349,6 +349,10 @@ public class LintConstants {
public static final String ANDROID_CONTENT_BROADCAST_RECEIVER =
"android/content/BroadcastReceiver"; //$NON-NLS-1$
+ // Method Names
+ public static final String FORMAT_METHOD = "format"; //$NON-NLS-1$
+ public static final String GET_STRING_METHOD = "getString"; //$NON-NLS-1$
+
/**
* The highest known API level. Note that the tools may also look at the
* installed platforms to see if they can find more recently released