Skip to content

Commit 4046b74

Browse files
committed
Added a note that this is not a final API
Change-Id: I981d27f0a1a4b990347657ea78b4043b6c45d6e7
1 parent 9f855da commit 4046b74

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The [Android `lint` tool](http://developer.android.com/tools/help/lint.html) is
77
internationalization. Lint comes with over 100 checks, however it can be extended with additional
88
custom rules.
99

10-
The Custom Lint Rules API is **not stable** and is subject to change in the future. Be ready to change
11-
your custom lint rule implementation when the API changes.
10+
**NOTE: The lint API is not a final API; if you rely on this be prepared
11+
to adjust your code for the next tools release.**
1212

1313
Introduction
1414
------------

src/main/java/com/example/google/lint/MainActivityDetector.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747

4848
/**
4949
* Checks for a main activity in <code>AndroidManifest.xml</code>.
50+
* <p/>
51+
* <b>NOTE: This is not a final API; if you rely on this be prepared
52+
* to adjust your code for the next tools release.</b>
5053
*/
5154
public class MainActivityDetector extends ResourceXmlDetector implements Detector.XmlScanner {
5255
public static final Issue ISSUE = Issue.create(

src/test/java/com/example/google/lint/MainActivityDetectorTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131

3232
import static com.android.SdkConstants.FN_ANDROID_MANIFEST_XML;
3333

34+
/**
35+
* <b>NOTE: This is not a final API; if you rely on this be prepared
36+
* to adjust your code for the next tools release.</b>
37+
*/
3438
public class MainActivityDetectorTest extends LintDetectorTest {
3539
/**
3640
* The set of enabled issues for a given test.

0 commit comments

Comments
 (0)