diff --git a/docs/checks/AaptCrash.md.html b/docs/checks/AaptCrash.md.html index 45ec8e20..2ab15322 100644 --- a/docs/checks/AaptCrash.md.html +++ b/docs/checks/AaptCrash.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/AcceptsUserCertificates.md.html b/docs/checks/AcceptsUserCertificates.md.html index 31202cd1..6ec51869 100644 --- a/docs/checks/AcceptsUserCertificates.md.html +++ b/docs/checks/AcceptsUserCertificates.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NetworkSecurityConfigDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NetworkSecurityConfigDetectorTest.java) -Copyright Year -: 2016 Allowing user certificates could allow eavesdroppers to intercept data sent by your app, which could impact the privacy of your users. Consider diff --git a/docs/checks/AccessibilityFocus.md.html b/docs/checks/AccessibilityFocus.md.html index b81f3ee6..aa7207d4 100644 --- a/docs/checks/AccessibilityFocus.md.html +++ b/docs/checks/AccessibilityFocus.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.6.0 (August 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AccessibilityForceFocusDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AccessibilityForceFocusDetectorTest.kt) -Copyright Year -: 2024 Forcing accessibility focus interferes with screen readers and gives an inconsistent user experience, especially across apps. diff --git a/docs/checks/AccessibilityScrollActions.md.html b/docs/checks/AccessibilityScrollActions.md.html index 3d534c38..7be95129 100644 --- a/docs/checks/AccessibilityScrollActions.md.html +++ b/docs/checks/AccessibilityScrollActions.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.6.0 (August 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AccessibilityViewScrollActionsDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AccessibilityViewScrollActionsDetectorTest.kt) -Copyright Year -: 2024 Views that behave like `ScrollView` and support `ACTION_SCROLL_{FORWARD,BACKWARD}` should also support diff --git a/docs/checks/AccessibilityWindowStateChangedEvent.md.html b/docs/checks/AccessibilityWindowStateChangedEvent.md.html index 3b7d72a0..6d49e46b 100644 --- a/docs/checks/AccessibilityWindowStateChangedEvent.md.html +++ b/docs/checks/AccessibilityWindowStateChangedEvent.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.6.0 (August 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AccessibilityWindowStateChangedDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AccessibilityWindowStateChangedDetectorTest.kt) -Copyright Year -: 2024 Sending or populating `TYPE_WINDOW_STATE_CHANGED` events in your code is strongly discouraged. Instead, prefer to use or extend system-provided diff --git a/docs/checks/AccidentalOctal.md.html b/docs/checks/AccidentalOctal.md.html index 1f02e787..994c972a 100644 --- a/docs/checks/AccidentalOctal.md.html +++ b/docs/checks/AccidentalOctal.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing diff --git a/docs/checks/ActivityIconColor.md.html b/docs/checks/ActivityIconColor.md.html index 6e769bee..3d720775 100644 --- a/docs/checks/ActivityIconColor.md.html +++ b/docs/checks/ActivityIconColor.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.3.0 (February 2024) Affects : Kotlin and Java files, binary resource files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ActivityIconColorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ActivityIconColorDetectorTest.kt) -Copyright Year -: 2022 The resources passed to `setAnimatedIcon` and `setStaticIcon` should be white with a transparent background, preferably a VectorDrawable or diff --git a/docs/checks/AdapterViewChildren.md.html b/docs/checks/AdapterViewChildren.md.html index 49720314..5d3e4727 100644 --- a/docs/checks/AdapterViewChildren.md.html +++ b/docs/checks/AdapterViewChildren.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/AddJavascriptInterface.md.html b/docs/checks/AddJavascriptInterface.md.html index c3ebadee..88102616 100644 --- a/docs/checks/AddJavascriptInterface.md.html +++ b/docs/checks/AddJavascriptInterface.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/AlertDialogUsage.md.html b/docs/checks/AlertDialogUsage.md.html index 0806e8e9..e47e94a6 100644 --- a/docs/checks/AlertDialogUsage.md.html +++ b/docs/checks/AlertDialogUsage.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.9.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/AllCaps.md.html b/docs/checks/AllCaps.md.html index ccea5edf..e5b4b5b0 100644 --- a/docs/checks/AllCaps.md.html +++ b/docs/checks/AllCaps.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AllCapsDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AllCapsDetectorTest.kt) -Copyright Year -: 2016 The textAllCaps text transform will end up calling `toString` on the `CharSequence`, which has the net effect of removing any markup such as diff --git a/docs/checks/AllowAllHostnameVerifier.md.html b/docs/checks/AllowAllHostnameVerifier.md.html index fdb49808..e1673ca6 100644 --- a/docs/checks/AllowAllHostnameVerifier.md.html +++ b/docs/checks/AllowAllHostnameVerifier.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AllowAllHostnameVerifierDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AllowAllHostnameVerifierDetectorTest.java) -Copyright Year -: 2015 This check looks for use of HostnameVerifier implementations whose `verify` method always returns true (thus trusting any hostname) which diff --git a/docs/checks/AlwaysShowAction.md.html b/docs/checks/AlwaysShowAction.md.html index c36eb337..c5a368ad 100644 --- a/docs/checks/AlwaysShowAction.md.html +++ b/docs/checks/AlwaysShowAction.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/AndroidGradlePluginVersion.md.html b/docs/checks/AndroidGradlePluginVersion.md.html index 1e80c08b..5ca97e24 100644 --- a/docs/checks/AndroidGradlePluginVersion.md.html +++ b/docs/checks/AndroidGradlePluginVersion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files and TOML files Editing diff --git a/docs/checks/AnimatorKeep.md.html b/docs/checks/AnimatorKeep.md.html index a5254eee..9eb86c4b 100644 --- a/docs/checks/AnimatorKeep.md.html +++ b/docs/checks/AnimatorKeep.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ObjectAnimatorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ObjectAnimatorDetectorTest.kt) -Copyright Year -: 2016 When you use property animators, properties can be accessed via reflection. Those methods should be annotated with @Keep to ensure that diff --git a/docs/checks/AnnotateVersionCheck.md.html b/docs/checks/AnnotateVersionCheck.md.html index ad936fd7..2718ab45 100644 --- a/docs/checks/AnnotateVersionCheck.md.html +++ b/docs/checks/AnnotateVersionCheck.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SdkIntDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SdkIntDetectorTest.kt) -Copyright Year -: 2021 Methods which perform `SDK_INT` version checks (or field constants which reflect the result of a version check) in libraries should be annotated diff --git a/docs/checks/AnnotationProcessorOnCompilePath.md.html b/docs/checks/AnnotationProcessorOnCompilePath.md.html index 2c22490d..86b7f2e9 100644 --- a/docs/checks/AnnotationProcessorOnCompilePath.md.html +++ b/docs/checks/AnnotationProcessorOnCompilePath.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Gradle build files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 This dependency is identified as an annotation processor. Consider adding it to the processor path using `annotationProcessor` instead of diff --git a/docs/checks/AppBundleLocaleChanges.md.html b/docs/checks/AppBundleLocaleChanges.md.html index 7475066d..eea9ef8c 100644 --- a/docs/checks/AppBundleLocaleChanges.md.html +++ b/docs/checks/AppBundleLocaleChanges.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Gradle build files and Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppBundleLocaleChangesDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppBundleLocaleChangesDetectorTest.kt) -Copyright Year -: 2021 When changing locales at runtime (e.g. to provide an in-app language switcher), the Android App Bundle must be configured to not split by diff --git a/docs/checks/AppCompatCustomView.md.html b/docs/checks/AppCompatCustomView.md.html index 7471f804..6949ebd0 100644 --- a/docs/checks/AppCompatCustomView.md.html +++ b/docs/checks/AppCompatCustomView.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppCompatCustomViewDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppCompatCustomViewDetectorTest.kt) -Copyright Year -: 2016 In order to support features such as tinting, the appcompat library will automatically load special appcompat replacements for the builtin diff --git a/docs/checks/AppCompatMethod.md.html b/docs/checks/AppCompatMethod.md.html index 8e28cf52..931cfc47 100644 --- a/docs/checks/AppCompatMethod.md.html +++ b/docs/checks/AppCompatMethod.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/AppCompatResource.md.html b/docs/checks/AppCompatResource.md.html index 7bfe48c3..72f40689 100644 --- a/docs/checks/AppCompatResource.md.html +++ b/docs/checks/AppCompatResource.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/AppIndexingService.md.html b/docs/checks/AppIndexingService.md.html index e9d49362..794f06cb 100644 --- a/docs/checks/AppIndexingService.md.html +++ b/docs/checks/AppIndexingService.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ManifestDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ManifestDetectorTest.kt) -Copyright Year -: 2011 Apps targeting Android 8.0 or higher can no longer rely on background services while listening for updates to the on-device index. Use a diff --git a/docs/checks/AppLinkSplitToWebAndCustom.md.html b/docs/checks/AppLinkSplitToWebAndCustom.md.html index e88e2ed6..619a543c 100644 --- a/docs/checks/AppLinkSplitToWebAndCustom.md.html +++ b/docs/checks/AppLinkSplitToWebAndCustom.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.8.0-alpha08 (October 2024) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppLinksValidDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksValidDetectorTest.kt) -Copyright Year -: 2017 In order for Android App Links to open in your app, Android must perform domain verification. However, Android only sends domain verification @@ -48,7 +48,7 @@ AndroidManifest.xml:7:Error: Split your http(s) and custom schemes into separate intent filters [AppLinkSplitToWebAndCustom] <intent-filter android:autoVerify="true" android:order="-1" android:priority="-1"> - ^ + ------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here are the relevant source files: @@ -71,7 +71,7 @@ </uri-relative-filter-group> <data android:scheme="http" /> <data android:scheme="custom" /> - <data android:host="library.com" /> + <data android:host="example.com" /> <data android:path="@string/path" /> <data android:path="/<&''" /> <data android:path='/single"quote' /> diff --git a/docs/checks/AppLinkUriRelativeFilterGroupError.md.html b/docs/checks/AppLinkUriRelativeFilterGroupError.md.html new file mode 100644 index 00000000..f50d401f --- /dev/null +++ b/docs/checks/AppLinkUriRelativeFilterGroupError.md.html @@ -0,0 +1,180 @@ + +(#) URI relative filter group invalid + +!!! ERROR: URI relative filter group invalid + This is an error. + +Id +: `AppLinkUriRelativeFilterGroupError` +Summary +: URI relative filter group invalid +Severity +: Error +Category +: Correctness +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.9.0-alpha05 (December 2024) +Affects +: Manifest files +Editing +: This check runs on the fly in the IDE editor +See +: https://developer.android.com/guide/topics/manifest/uri-relative-filter-group-element?utm_source=lint +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppLinksValidDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksValidDetectorTest.kt) + +Ensure that your URI relative filter group is correctly configured. + +!!! Tip + This lint check has an associated quickfix available in the IDE. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +AndroidManifest.xml:29:Error: MIME types prevent Android App Links from +matching [AppLinkUriRelativeFilterGroupError] + <data android:mimeType="application/json" /> + -------------------------------------------- +AndroidManifest.xml:40:Error: MIME types prevent Android App Links from +matching [AppLinkUriRelativeFilterGroupError] + <data android:host="example.com" android:mimeType="application/json" android:pathPrefix="/gizmos" /> + ---------------------------------------------------------------------------------------------------- +AndroidManifest.xml:51:Error: MIME types prevent Android App Links from +matching [AppLinkUriRelativeFilterGroupError] + <data android:host='example.com' android:mimeType="application/json" android:pathPrefix='/gizmos' /> + ---------------------------------------------------------------------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`AndroidManifest.xml`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~xml linenumbers +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.example.helloworld" > + + <application> + <activity android:name=".FullscreenActivity"> + + <intent-filter android:autoVerify="true"> <!-- Fine --> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + + <data android:scheme="http" /> + <data android:scheme="https" /> + + <data android:host="example.com" /> + <data android:pathPrefix="/gizmos" /> + </intent-filter> + + <intent-filter android:autoVerify="true"> <!-- Has MIME type in its own data tag--> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + + <data android:scheme="http" /> + <data android:scheme="https" /> + + <data android:host="example.com" /> + <data android:pathPrefix="/gizmos" /> + <data android:mimeType="application/json" /> + </intent-filter> + + <intent-filter android:autoVerify="true"> <!-- Has MIME type in the same data tag as other content --> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + + <data android:scheme="http" /> + <data android:scheme="https" /> + + <data android:host="example.com" android:mimeType="application/json" android:pathPrefix="/gizmos" /> + </intent-filter> + + <intent-filter android:autoVerify="true"> <!-- Has MIME type in the same data tag as other content; mix single/double quotes --> + <action android:name="android.intent.action.VIEW" /> + <category android:name="android.intent.category.DEFAULT" /> + <category android:name="android.intent.category.BROWSABLE" /> + + <data android:scheme="http" /> + <data android:scheme="https" /> + + <data android:host='example.com' android:mimeType="application/json" android:pathPrefix='/gizmos' /> + </intent-filter> + </activity> + </application> +</manifest> +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksValidDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `AppLinksValidDetector.testAutoVerify_extraAttribute_mimeType`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=192708. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Adding the suppression attribute + `tools:ignore="AppLinkUriRelativeFilterGroupError"` on the + problematic XML element (or one of its enclosing elements). You may + also need to add the following namespace declaration on the root + element in the XML file if it's not already there: + `xmlns:tools="http://schemas.android.com/tools"`. + + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <manifest xmlns:tools="http://schemas.android.com/tools"> + ... + <activity tools:ignore="AppLinkUriRelativeFilterGroupError" .../> + ... + </manifest> + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="AppLinkUriRelativeFilterGroupError" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'AppLinkUriRelativeFilterGroupError' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore AppLinkUriRelativeFilterGroupError ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/AppLinkUrlError.md.html b/docs/checks/AppLinkUrlError.md.html index f9e6d189..605bd8e8 100644 --- a/docs/checks/AppLinkUrlError.md.html +++ b/docs/checks/AppLinkUrlError.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Manifest files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppLinksValidDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksValidDetectorTest.kt) -Copyright Year -: 2017 Ensure your intent filter has the documented elements for deep links, web links, or Android App Links. diff --git a/docs/checks/AppLinkWarning.md.html b/docs/checks/AppLinkWarning.md.html index 2bee0928..e69fcc8b 100644 --- a/docs/checks/AppLinkWarning.md.html +++ b/docs/checks/AppLinkWarning.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.8.0-alpha06 (October 2024) Affects : Manifest files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppLinksValidDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksValidDetectorTest.kt) -Copyright Year -: 2017 From Android 12, intent filters that use the HTTP and HTTPS schemes will no longer bring the user to your app when the user clicks diff --git a/docs/checks/AppLinksAutoVerify.md.html b/docs/checks/AppLinksAutoVerify.md.html index 5a1d9b9d..7b585412 100644 --- a/docs/checks/AppLinksAutoVerify.md.html +++ b/docs/checks/AppLinksAutoVerify.md.html @@ -6,10 +6,6 @@ Id : `AppLinksAutoVerify` -Previously -: AppLinksAutoVerifyError -Previously -: AppLinksAutoVerifyWarning Summary : App Links Auto Verification Failure Note @@ -24,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Manifest files Editing @@ -34,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppLinksAutoVerifyDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksAutoVerifyDetectorTest.kt) -Copyright Year -: 2015 Ensures that app links are correctly set and associated with website. diff --git a/docs/checks/ApplySharedPref.md.html b/docs/checks/ApplySharedPref.md.html index abd7759a..b58f8529 100644 --- a/docs/checks/ApplySharedPref.md.html +++ b/docs/checks/ApplySharedPref.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CleanupDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CleanupDetectorTest.kt) -Copyright Year -: 2012 Consider using `apply()` instead of `commit` on shared preferences. Whereas `commit` blocks and writes its data to persistent storage diff --git a/docs/checks/ArcAnimationSpecTypeIssue.md.html b/docs/checks/ArcAnimationSpecTypeIssue.md.html index eaf03ce5..a861655f 100644 --- a/docs/checks/ArcAnimationSpecTypeIssue.md.html +++ b/docs/checks/ArcAnimationSpecTypeIssue.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html) - +Since +: 1.7.0 Affects : Kotlin and Java files Editing @@ -99,17 +100,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.8.0-alpha06" +animation-core-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -121,11 +122,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html). diff --git a/docs/checks/ArgInFormattedQuantityStringRes.md.html b/docs/checks/ArgInFormattedQuantityStringRes.md.html index 6dc58815..15d88e31 100644 --- a/docs/checks/ArgInFormattedQuantityStringRes.md.html +++ b/docs/checks/ArgInFormattedQuantityStringRes.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/AssertionSideEffect.md.html b/docs/checks/AssertionSideEffect.md.html index 7ea7b8e2..8aabf500 100644 --- a/docs/checks/AssertionSideEffect.md.html +++ b/docs/checks/AssertionSideEffect.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.2.0 (May 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AssertDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AssertDetectorTest.kt) -Copyright Year -: 2014 Assertion conditions can have side effects. This is risky because the behavior depends on whether assertions are on or off. This is usually diff --git a/docs/checks/AssertjImport.md.html b/docs/checks/AssertjImport.md.html index ee3c1bb1..92b6e091 100644 --- a/docs/checks/AssertjImport.md.html +++ b/docs/checks/AssertjImport.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.8.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/AuthLeak.md.html b/docs/checks/AuthLeak.md.html index fd94e617..183dfd55 100644 --- a/docs/checks/AuthLeak.md.html +++ b/docs/checks/AuthLeak.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/StringAuthLeakDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/StringAuthLeakDetectorTest.kt) -Copyright Year -: 2016 Strings in java apps can be discovered by decompiling apps, this lint check looks for code which looks like it may contain an url with a diff --git a/docs/checks/AutoDispose.md.html b/docs/checks/AutoDispose.md.html index 9cf5a2fa..43c50b7a 100644 --- a/docs/checks/AutoDispose.md.html +++ b/docs/checks/AutoDispose.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.uber.autodispose2:autodispose-lint](com_uber_autodispose2_autodispose-lint.md.html) - +Since +: 2.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/AutoboxingStateCreation.md.html b/docs/checks/AutoboxingStateCreation.md.html index 6a3be685..e17dc5a8 100644 --- a/docs/checks/AutoboxingStateCreation.md.html +++ b/docs/checks/AutoboxingStateCreation.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files Editing @@ -94,17 +95,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -116,11 +117,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/AutoboxingStateValueProperty.md.html b/docs/checks/AutoboxingStateValueProperty.md.html index d6a9ee6f..b1b512f5 100644 --- a/docs/checks/AutoboxingStateValueProperty.md.html +++ b/docs/checks/AutoboxingStateValueProperty.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -89,17 +90,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -111,11 +112,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/Autofill.md.html b/docs/checks/Autofill.md.html index 30b2832b..84586a89 100644 --- a/docs/checks/Autofill.md.html +++ b/docs/checks/Autofill.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AutofillDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AutofillDetectorTest.java) -Copyright Year -: 2018 Specify an `autofillHints` attribute when targeting SDK version 26 or higher or explicitly specify that the view is not important for diff --git a/docs/checks/AvoidUsingNotNullOperator.md.html b/docs/checks/AvoidUsingNotNullOperator.md.html index 8dfda0f1..bfb7c934 100644 --- a/docs/checks/AvoidUsingNotNullOperator.md.html +++ b/docs/checks/AvoidUsingNotNullOperator.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.8.1 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/BackButton.md.html b/docs/checks/BackButton.md.html index db805cc5..0d2af11d 100644 --- a/docs/checks/BackButton.md.html +++ b/docs/checks/BackButton.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/BadConfigurationProvider.md.html b/docs/checks/BadConfigurationProvider.md.html index f34edf32..3582cc53 100644 --- a/docs/checks/BadConfigurationProvider.md.html +++ b/docs/checks/BadConfigurationProvider.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.3.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/BadHostnameVerifier.md.html b/docs/checks/BadHostnameVerifier.md.html index 4473bcc6..66263d7d 100644 --- a/docs/checks/BadHostnameVerifier.md.html +++ b/docs/checks/BadHostnameVerifier.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/BadHostnameVerifierDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/BadHostnameVerifierDetectorTest.java) -Copyright Year -: 2015 This check looks for implementations of `HostnameVerifier` whose `verify` method always returns true (thus trusting any hostname) which diff --git a/docs/checks/BadPeriodicWorkRequestEnqueue.md.html b/docs/checks/BadPeriodicWorkRequestEnqueue.md.html index e74be21e..223438cc 100644 --- a/docs/checks/BadPeriodicWorkRequestEnqueue.md.html +++ b/docs/checks/BadPeriodicWorkRequestEnqueue.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.3.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/BatteryLife.md.html b/docs/checks/BatteryLife.md.html index 680dc4a7..9b898249 100644 --- a/docs/checks/BatteryLife.md.html +++ b/docs/checks/BatteryLife.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Kotlin and Java files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/BatteryDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/BatteryDetectorTest.java) -Copyright Year -: 2016 This issue flags code that either * negatively affects battery life, or diff --git a/docs/checks/BidiSpoofing.md.html b/docs/checks/BidiSpoofing.md.html index d7f06f69..40335a3b 100644 --- a/docs/checks/BidiSpoofing.md.html +++ b/docs/checks/BidiSpoofing.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/BidirectionalTextDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/BidirectionalTextDetectorTest.kt) -Copyright Year -: 2021 Unicode bidirectional text characters can alter the order in which the compiler processes tokens. However, this can also be used to hide diff --git a/docs/checks/BinaryOperationInTimber.md.html b/docs/checks/BinaryOperationInTimber.md.html index 1bd897a3..134ea1d8 100644 --- a/docs/checks/BinaryOperationInTimber.md.html +++ b/docs/checks/BinaryOperationInTimber.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/BinderGetCallingInMainThread.md.html b/docs/checks/BinderGetCallingInMainThread.md.html index aca3341d..85ed1516 100644 --- a/docs/checks/BinderGetCallingInMainThread.md.html +++ b/docs/checks/BinderGetCallingInMainThread.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.0.0 (April 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/BinderGetCallingInMainThreadDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/BinderGetCallingInMainThreadDetectorTest.kt) -Copyright Year -: 2022 `Binder.getCallingUid()` and `Binder.getCallingPid()` will return information about the current process if called inside a thread that is diff --git a/docs/checks/BindingReceiverParameter.md.html b/docs/checks/BindingReceiverParameter.md.html index 0dd17d15..41f68665 100644 --- a/docs/checks/BindingReceiverParameter.md.html +++ b/docs/checks/BindingReceiverParameter.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/BindingReturnType.md.html b/docs/checks/BindingReturnType.md.html index cb960716..84b20a2b 100644 --- a/docs/checks/BindingReturnType.md.html +++ b/docs/checks/BindingReturnType.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/BindsMustBeAbstract.md.html b/docs/checks/BindsMustBeAbstract.md.html index be1aaca4..de3754b6 100644 --- a/docs/checks/BindsMustBeAbstract.md.html +++ b/docs/checks/BindsMustBeAbstract.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/BindsTypeMismatch.md.html b/docs/checks/BindsTypeMismatch.md.html index 3f909d3f..8cf6b799 100644 --- a/docs/checks/BindsTypeMismatch.md.html +++ b/docs/checks/BindsTypeMismatch.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/BindsWrongParameterCount.md.html b/docs/checks/BindsWrongParameterCount.md.html index 13915c2f..fd78ad2a 100644 --- a/docs/checks/BindsWrongParameterCount.md.html +++ b/docs/checks/BindsWrongParameterCount.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/BlockedPrivateApi.md.html b/docs/checks/BlockedPrivateApi.md.html index a7689846..83203fc1 100644 --- a/docs/checks/BlockedPrivateApi.md.html +++ b/docs/checks/BlockedPrivateApi.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PrivateApiDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PrivateApiDetectorTest.kt) -Copyright Year -: 2017 Usage of restricted non-SDK interface is forbidden for this targetSDK. Accessing non-SDK methods or fields through reflection has a high diff --git a/docs/checks/BomWithoutPlatform.md.html b/docs/checks/BomWithoutPlatform.md.html index fe61fc77..08ec003a 100644 --- a/docs/checks/BomWithoutPlatform.md.html +++ b/docs/checks/BomWithoutPlatform.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Gradle build files and TOML files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 When including a BOM, the dependency's coordinates must be wrapped in a call to `platform()` for Gradle to interpret it correctly. diff --git a/docs/checks/BottomAppBar.md.html b/docs/checks/BottomAppBar.md.html index ea9c21ae..a12e329a 100644 --- a/docs/checks/BottomAppBar.md.html +++ b/docs/checks/BottomAppBar.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/BottomAppBarDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/BottomAppBarDetectorTest.kt) -Copyright Year -: 2018 The `BottomAppBar` widget must be placed within a `CoordinatorLayout`. diff --git a/docs/checks/BrokenIterator.md.html b/docs/checks/BrokenIterator.md.html index 0bf12447..2f49c1ac 100644 --- a/docs/checks/BrokenIterator.md.html +++ b/docs/checks/BrokenIterator.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IteratorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IteratorDetectorTest.kt) -Copyright Year -: 2019 **For LinkedHashMap:** diff --git a/docs/checks/BuildListAdds.md.html b/docs/checks/BuildListAdds.md.html index e318b17e..d6c87220 100644 --- a/docs/checks/BuildListAdds.md.html +++ b/docs/checks/BuildListAdds.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.4.0 (April 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/BuildListDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/BuildListDetectorTest.kt) -Copyright Year -: 2024 The `buildList { }` standard library function is a convenient way to build lists, but you need to actually call `add` on the items. diff --git a/docs/checks/ButtonCase.md.html b/docs/checks/ButtonCase.md.html index 4641c67c..6c03916a 100644 --- a/docs/checks/ButtonCase.md.html +++ b/docs/checks/ButtonCase.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ButtonOrder.md.html b/docs/checks/ButtonOrder.md.html index 0c53e571..30b185f7 100644 --- a/docs/checks/ButtonOrder.md.html +++ b/docs/checks/ButtonOrder.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ButtonStyle.md.html b/docs/checks/ButtonStyle.md.html index dd15c0df..30819617 100644 --- a/docs/checks/ButtonStyle.md.html +++ b/docs/checks/ButtonStyle.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ByteOrderMark.md.html b/docs/checks/ByteOrderMark.md.html index 2ed8f21a..c795ba6f 100644 --- a/docs/checks/ByteOrderMark.md.html +++ b/docs/checks/ByteOrderMark.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files, Kotlin and Java files, manifest files, property files, resource files and shrinking configuration files Editing diff --git a/docs/checks/CanvasSize.md.html b/docs/checks/CanvasSize.md.html index a2b4f509..6a6ce5c8 100644 --- a/docs/checks/CanvasSize.md.html +++ b/docs/checks/CanvasSize.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CanvasSizeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CanvasSizeDetectorTest.kt) -Copyright Year -: 2018 In a custom view's draw implementation, you should normally call `getWidth` and `getHeight` on the custom view itself, not on the diff --git a/docs/checks/CastingViewContextToActivity.md.html b/docs/checks/CastingViewContextToActivity.md.html index f8ea68c0..73abed15 100644 --- a/docs/checks/CastingViewContextToActivity.md.html +++ b/docs/checks/CastingViewContextToActivity.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/CheckResult.md.html b/docs/checks/CheckResult.md.html index e297152c..70d6cab3 100644 --- a/docs/checks/CheckResult.md.html +++ b/docs/checks/CheckResult.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files and test sources Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CheckResultDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CheckResultDetectorTest.kt) -Copyright Year -: 2017 Some methods have no side effects, and calling them without doing something with the result is suspicious. diff --git a/docs/checks/ChildInNonViewGroup.md.html b/docs/checks/ChildInNonViewGroup.md.html index 518cab8e..0000e8fe 100644 --- a/docs/checks/ChildInNonViewGroup.md.html +++ b/docs/checks/ChildInNonViewGroup.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.7.0 (October 2024) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChildInNonViewGroupDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChildInNonViewGroupDetectorTest.kt) -Copyright Year -: 2011 Only classes inheriting from `ViewGroup` can have children. diff --git a/docs/checks/ChromeOsAbiSupport.md.html b/docs/checks/ChromeOsAbiSupport.md.html index 605bf7b2..6b9e14c0 100644 --- a/docs/checks/ChromeOsAbiSupport.md.html +++ b/docs/checks/ChromeOsAbiSupport.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.0.0 (April 2023) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 To properly support ChromeOS, your Android application should have an x86 and/or x86_64 binary as part of the build configuration. To fix the diff --git a/docs/checks/ChromeOsOnConfigurationChanged.md.html b/docs/checks/ChromeOsOnConfigurationChanged.md.html index 34a6ec8d..6fd2225b 100644 --- a/docs/checks/ChromeOsOnConfigurationChanged.md.html +++ b/docs/checks/ChromeOsOnConfigurationChanged.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.0.0 (April 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChromeOsSourceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChromeOsSourceDetectorTest.kt) -Copyright Year -: 2018 When users resize the Android emulator in Android 13 and Chrome OS, an `onConfigurationChanged()` API call occurs. If your diff --git a/docs/checks/ClickableViewAccessibility.md.html b/docs/checks/ClickableViewAccessibility.md.html index 9017748a..00d5f51f 100644 --- a/docs/checks/ClickableViewAccessibility.md.html +++ b/docs/checks/ClickableViewAccessibility.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/CoarseFineLocation.md.html b/docs/checks/CoarseFineLocation.md.html index fce521aa..fe66739d 100644 --- a/docs/checks/CoarseFineLocation.md.html +++ b/docs/checks/CoarseFineLocation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/FineLocationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/FineLocationDetectorTest.kt) -Copyright Year -: 2021 If your app requires access to FINE location, on Android 12 and higher you must now request both FINE and COARSE. Users will have the option to diff --git a/docs/checks/ColorCasing.md.html b/docs/checks/ColorCasing.md.html index 2c1719f5..1be861d7 100644 --- a/docs/checks/ColorCasing.md.html +++ b/docs/checks/ColorCasing.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.8.0 Affects : Resource files Editing diff --git a/docs/checks/CommitPrefEdits.md.html b/docs/checks/CommitPrefEdits.md.html index 0c6ef8f1..205f76c5 100644 --- a/docs/checks/CommitPrefEdits.md.html +++ b/docs/checks/CommitPrefEdits.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CleanupDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CleanupDetectorTest.kt) -Copyright Year -: 2012 After calling `edit()` on a `SharedPreference`, you must call `commit()` or `apply()` on the editor to save the results. diff --git a/docs/checks/CommitTransaction.md.html b/docs/checks/CommitTransaction.md.html index 6feb688f..5f0912c2 100644 --- a/docs/checks/CommitTransaction.md.html +++ b/docs/checks/CommitTransaction.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/ComposableDestinationInComposeScope.md.html b/docs/checks/ComposableDestinationInComposeScope.md.html index aa3edb87..49654d32 100644 --- a/docs/checks/ComposableDestinationInComposeScope.md.html +++ b/docs/checks/ComposableDestinationInComposeScope.md.html @@ -21,10 +21,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files and test sources Editing @@ -88,17 +89,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.9.0-alpha03") +implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.9.0-alpha03" +navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -110,7 +111,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/ComposableLambdaParameterNaming.md.html b/docs/checks/ComposableLambdaParameterNaming.md.html index 588378fe..f6c44706 100644 --- a/docs/checks/ComposableLambdaParameterNaming.md.html +++ b/docs/checks/ComposableLambdaParameterNaming.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -87,17 +88,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -109,11 +110,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ComposableLambdaParameterPosition.md.html b/docs/checks/ComposableLambdaParameterPosition.md.html index 1d64c55c..b49746ca 100644 --- a/docs/checks/ComposableLambdaParameterPosition.md.html +++ b/docs/checks/ComposableLambdaParameterPosition.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -86,17 +87,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -108,11 +109,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ComposableNaming.md.html b/docs/checks/ComposableNaming.md.html index d49990ec..e53d7a5f 100644 --- a/docs/checks/ComposableNaming.md.html +++ b/docs/checks/ComposableNaming.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -86,17 +87,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -108,11 +109,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ComposableNavGraphInComposeScope.md.html b/docs/checks/ComposableNavGraphInComposeScope.md.html index c8dd91bb..75404d87 100644 --- a/docs/checks/ComposableNavGraphInComposeScope.md.html +++ b/docs/checks/ComposableNavGraphInComposeScope.md.html @@ -21,10 +21,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files and test sources Editing @@ -88,17 +89,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.9.0-alpha03") +implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.9.0-alpha03" +navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -110,7 +111,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/ComposeCompositionLocalGetter.md.html b/docs/checks/ComposeCompositionLocalGetter.md.html index ca77ae9b..826b7afc 100644 --- a/docs/checks/ComposeCompositionLocalGetter.md.html +++ b/docs/checks/ComposeCompositionLocalGetter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.3.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeCompositionLocalUsage.md.html b/docs/checks/ComposeCompositionLocalUsage.md.html index 4a7ee038..931c81a0 100644 --- a/docs/checks/ComposeCompositionLocalUsage.md.html +++ b/docs/checks/ComposeCompositionLocalUsage.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeContentEmitterReturningValues.md.html b/docs/checks/ComposeContentEmitterReturningValues.md.html index 4ea2e544..ba05633f 100644 --- a/docs/checks/ComposeContentEmitterReturningValues.md.html +++ b/docs/checks/ComposeContentEmitterReturningValues.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeM2Api.md.html b/docs/checks/ComposeM2Api.md.html index 65927c15..217ad926 100644 --- a/docs/checks/ComposeM2Api.md.html +++ b/docs/checks/ComposeM2Api.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeModifierComposed.md.html b/docs/checks/ComposeModifierComposed.md.html index d32a8a1b..b5ab8e41 100644 --- a/docs/checks/ComposeModifierComposed.md.html +++ b/docs/checks/ComposeModifierComposed.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.3.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeModifierMissing.md.html b/docs/checks/ComposeModifierMissing.md.html index 83387f8a..85b47e92 100644 --- a/docs/checks/ComposeModifierMissing.md.html +++ b/docs/checks/ComposeModifierMissing.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeModifierReused.md.html b/docs/checks/ComposeModifierReused.md.html index d5558852..0ddce124 100644 --- a/docs/checks/ComposeModifierReused.md.html +++ b/docs/checks/ComposeModifierReused.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeModifierWithoutDefault.md.html b/docs/checks/ComposeModifierWithoutDefault.md.html index 62aee6d9..dfadcba6 100644 --- a/docs/checks/ComposeModifierWithoutDefault.md.html +++ b/docs/checks/ComposeModifierWithoutDefault.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeMultipleContentEmitters.md.html b/docs/checks/ComposeMultipleContentEmitters.md.html index c8b6f579..bdeb1562 100644 --- a/docs/checks/ComposeMultipleContentEmitters.md.html +++ b/docs/checks/ComposeMultipleContentEmitters.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeMutableParameters.md.html b/docs/checks/ComposeMutableParameters.md.html index c04607ea..5eddecb9 100644 --- a/docs/checks/ComposeMutableParameters.md.html +++ b/docs/checks/ComposeMutableParameters.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeNamingLowercase.md.html b/docs/checks/ComposeNamingLowercase.md.html index 22961f9d..d22bb2c3 100644 --- a/docs/checks/ComposeNamingLowercase.md.html +++ b/docs/checks/ComposeNamingLowercase.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeNamingUppercase.md.html b/docs/checks/ComposeNamingUppercase.md.html index 062fc225..a480bcd7 100644 --- a/docs/checks/ComposeNamingUppercase.md.html +++ b/docs/checks/ComposeNamingUppercase.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeParameterOrder.md.html b/docs/checks/ComposeParameterOrder.md.html index 2f743010..13f0543d 100644 --- a/docs/checks/ComposeParameterOrder.md.html +++ b/docs/checks/ComposeParameterOrder.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposePreviewNaming.md.html b/docs/checks/ComposePreviewNaming.md.html index dc2c82e4..ca95961b 100644 --- a/docs/checks/ComposePreviewNaming.md.html +++ b/docs/checks/ComposePreviewNaming.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposePreviewPublic.md.html b/docs/checks/ComposePreviewPublic.md.html index e4703edd..652e1c9c 100644 --- a/docs/checks/ComposePreviewPublic.md.html +++ b/docs/checks/ComposePreviewPublic.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeRememberMissing.md.html b/docs/checks/ComposeRememberMissing.md.html index ca2f5765..2cf0d849 100644 --- a/docs/checks/ComposeRememberMissing.md.html +++ b/docs/checks/ComposeRememberMissing.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeUnstableCollections.md.html b/docs/checks/ComposeUnstableCollections.md.html index db7a620a..53cd766b 100644 --- a/docs/checks/ComposeUnstableCollections.md.html +++ b/docs/checks/ComposeUnstableCollections.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeUnstableReceiver.md.html b/docs/checks/ComposeUnstableReceiver.md.html index 838b7287..ec2ea845 100644 --- a/docs/checks/ComposeUnstableReceiver.md.html +++ b/docs/checks/ComposeUnstableReceiver.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.3.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeViewModelForwarding.md.html b/docs/checks/ComposeViewModelForwarding.md.html index 3c0fdfdf..0d416b33 100644 --- a/docs/checks/ComposeViewModelForwarding.md.html +++ b/docs/checks/ComposeViewModelForwarding.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ComposeViewModelInjection.md.html b/docs/checks/ComposeViewModelInjection.md.html index c4a65299..86b2a058 100644 --- a/docs/checks/ComposeViewModelInjection.md.html +++ b/docs/checks/ComposeViewModelInjection.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/CompositionLocalNaming.md.html b/docs/checks/CompositionLocalNaming.md.html index fb517244..fa908813 100644 --- a/docs/checks/CompositionLocalNaming.md.html +++ b/docs/checks/CompositionLocalNaming.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -103,17 +104,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -125,11 +126,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/ConflictingOnColor.md.html b/docs/checks/ConflictingOnColor.md.html index e8b138b9..b7eb3828 100644 --- a/docs/checks/ConflictingOnColor.md.html +++ b/docs/checks/ConflictingOnColor.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.material:material-android](androidx_compose_material_material-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -180,17 +181,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.8.0-alpha06") +implementation("androidx.compose.material:material-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.material:material-android:1.8.0-alpha06' +implementation 'androidx.compose.material:material-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.8.0-alpha06" +material-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -202,11 +203,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.material:material-lint:1.8.0-alpha06`. +You can also use `androidx.compose.material:material-lint:1.8.0-alpha07`. [Additional details about androidx.compose.material:material-android](androidx_compose_material_material-android.md.html). diff --git a/docs/checks/ConstantContentStateKeyInItemsCall.md.html b/docs/checks/ConstantContentStateKeyInItemsCall.md.html index 7dd9b415..8f1b2d80 100644 --- a/docs/checks/ConstantContentStateKeyInItemsCall.md.html +++ b/docs/checks/ConstantContentStateKeyInItemsCall.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) - +Since +: 1.8.0-alpha01 Affects : Kotlin and Java files and test sources Editing @@ -221,17 +222,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.8.0-alpha06" +animation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -243,11 +244,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). diff --git a/docs/checks/ConstantLocale.md.html b/docs/checks/ConstantLocale.md.html index 82e8c059..4a791888 100644 --- a/docs/checks/ConstantLocale.md.html +++ b/docs/checks/ConstantLocale.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LocaleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LocaleDetectorTest.kt) -Copyright Year -: 2012 Assigning `Locale.getDefault()` to a constant is suspicious, because the locale can change while the app is running. diff --git a/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html b/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html index 4a096cbb..f53d0059 100644 --- a/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html +++ b/docs/checks/ConstraintLayoutToolsEditorAttribute.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/ContentDescription.md.html b/docs/checks/ContentDescription.md.html index 13eb2505..015c158b 100644 --- a/docs/checks/ContentDescription.md.html +++ b/docs/checks/ContentDescription.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ContextCastToActivity.md.html b/docs/checks/ContextCastToActivity.md.html index fa411539..f03feded 100644 --- a/docs/checks/ContextCastToActivity.md.html +++ b/docs/checks/ContextCastToActivity.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.activity:activity-compose](androidx_activity_activity-compose.md.html) - +Since +: 1.10.0-alpha03 Affects : Kotlin and Java files and test sources Editing @@ -96,17 +97,17 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity-compose:1.10.0-beta01") +implementation("androidx.activity:activity-compose:1.10.0-rc01") // build.gradle -implementation 'androidx.activity:activity-compose:1.10.0-beta01' +implementation 'androidx.activity:activity-compose:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] -activity-compose = "1.10.0-beta01" +activity-compose = "1.10.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -118,7 +119,7 @@ } ``` -1.10.0-beta01 is the version this documentation was generated from; +1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity-compose](androidx_activity_activity-compose.md.html). diff --git a/docs/checks/ConvertToWebp.md.html b/docs/checks/ConvertToWebp.md.html index 4f4cabaa..d4d027e2 100644 --- a/docs/checks/ConvertToWebp.md.html +++ b/docs/checks/ConvertToWebp.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IconDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IconDetectorTest.java) -Copyright Year -: 2011 The WebP format is typically more compact than PNG and JPEG. As of Android 4.2.1 it supports transparency and lossless conversion as well. diff --git a/docs/checks/CoroutineCreationDuringComposition.md.html b/docs/checks/CoroutineCreationDuringComposition.md.html index 42069dbb..f18b732e 100644 --- a/docs/checks/CoroutineCreationDuringComposition.md.html +++ b/docs/checks/CoroutineCreationDuringComposition.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -236,17 +237,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -258,11 +259,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/CredManMissingDal.md.html b/docs/checks/CredManMissingDal.md.html index a55a788f..0563b165 100644 --- a/docs/checks/CredManMissingDal.md.html +++ b/docs/checks/CredManMissingDal.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.7.0 (October 2024) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CredentialManagerDigitalAssetLinkDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CredentialManagerDigitalAssetLinkDetectorTest.kt) -Copyright Year -: 2024 When using password sign-in through Credential Manager, an asset statements string resource file that includes the `assetlinks.json` diff --git a/docs/checks/CredentialDependency.md.html b/docs/checks/CredentialDependency.md.html index 90721482..b14224c3 100644 --- a/docs/checks/CredentialDependency.md.html +++ b/docs/checks/CredentialDependency.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.6.0 (August 2024) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CredentialManagerDependencyDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CredentialManagerDependencyDetectorTest.kt) -Copyright Year -: 2024 The dependency `androidx.credentials:credentials-play-services-auth` is required for Android 13 and below to get support from Play services for diff --git a/docs/checks/CredentialManagerMisuse.md.html b/docs/checks/CredentialManagerMisuse.md.html index 1114d32a..279c3a2b 100644 --- a/docs/checks/CredentialManagerMisuse.md.html +++ b/docs/checks/CredentialManagerMisuse.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.8.0-alpha02 (September 2024) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CredentialManagerMisuseDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CredentialManagerMisuseDetectorTest.kt) -Copyright Year -: 2024 When calling `CredentialManager.getCredential` or `CredentialManager.getCredentialAsync`, you should handle diff --git a/docs/checks/CredentialManagerSignInWithGoogle.md.html b/docs/checks/CredentialManagerSignInWithGoogle.md.html index 563e4122..62998c28 100644 --- a/docs/checks/CredentialManagerSignInWithGoogle.md.html +++ b/docs/checks/CredentialManagerSignInWithGoogle.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.7.0 (October 2024) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CredentialManagerSignInWithGoogleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CredentialManagerSignInWithGoogleDetectorTest.kt) -Copyright Year -: 2024 When using `:googleid` classes like `GetGoogleIdOption` and `GetSignInWithGoogleOption`, you typically must handle the response diff --git a/docs/checks/CustomPermissionTypo.md.html b/docs/checks/CustomPermissionTypo.md.html index 1cfe1a1a..a9f1dff2 100644 --- a/docs/checks/CustomPermissionTypo.md.html +++ b/docs/checks/CustomPermissionTypo.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PermissionErrorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PermissionErrorDetectorTest.kt) -Copyright Year -: 2022 This check looks for required permissions that *look* like custom permissions defined in the same manifest, but aren't, and may be typos. diff --git a/docs/checks/CustomSplashScreen.md.html b/docs/checks/CustomSplashScreen.md.html index 69852d10..ec284d4d 100644 --- a/docs/checks/CustomSplashScreen.md.html +++ b/docs/checks/CustomSplashScreen.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SplashScreenDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SplashScreenDetectorTest.kt) -Copyright Year -: 2021 Starting in Android 12 (API 31+), the application's Launch Screen is provided by the system and the application should not create its own, diff --git a/docs/checks/CustomViewStyleable.md.html b/docs/checks/CustomViewStyleable.md.html index f9068714..4d1fc2b5 100644 --- a/docs/checks/CustomViewStyleable.md.html +++ b/docs/checks/CustomViewStyleable.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 0.1.0 (September 2014) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CustomViewDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CustomViewDetectorTest.java) -Copyright Year -: 2014 The convention for custom views is to use a `declare-styleable` whose name matches the custom view class name. The IDE relies on this diff --git a/docs/checks/CustomX509TrustManager.md.html b/docs/checks/CustomX509TrustManager.md.html index 6a9dc1d9..805461b5 100644 --- a/docs/checks/CustomX509TrustManager.md.html +++ b/docs/checks/CustomX509TrustManager.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Kotlin and Java files and library bytecode Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/X509TrustManagerDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/X509TrustManagerDetectorTest.kt) -Copyright Year -: 2015 This check looks for custom `X509TrustManager` implementations. diff --git a/docs/checks/CutPasteId.md.html b/docs/checks/CutPasteId.md.html index 8e562b0e..cc0547a8 100644 --- a/docs/checks/CutPasteId.md.html +++ b/docs/checks/CutPasteId.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/DalvikOverride.md.html b/docs/checks/DalvikOverride.md.html index 10f2348a..035014cd 100644 --- a/docs/checks/DalvikOverride.md.html +++ b/docs/checks/DalvikOverride.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Class files Editing diff --git a/docs/checks/DataBindingWithoutKapt.md.html b/docs/checks/DataBindingWithoutKapt.md.html index 91fc6096..452e0dec 100644 --- a/docs/checks/DataBindingWithoutKapt.md.html +++ b/docs/checks/DataBindingWithoutKapt.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Apps that use Kotlin and data binding should also apply the kotlin-kapt plugin. diff --git a/docs/checks/DataExtractionRules.md.html b/docs/checks/DataExtractionRules.md.html index 4da45b8d..0fa0ab95 100644 --- a/docs/checks/DataExtractionRules.md.html +++ b/docs/checks/DataExtractionRules.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Manifest files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ManifestDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ManifestDetectorTest.kt) -Copyright Year -: 2011 Before Android 12, the attributes `android:allowBackup` and `android:fullBackupContent` were used to configure all forms of backup, diff --git a/docs/checks/DeepLinkInActivityDestination.md.html b/docs/checks/DeepLinkInActivityDestination.md.html index 72539aea..59731ea0 100644 --- a/docs/checks/DeepLinkInActivityDestination.md.html +++ b/docs/checks/DeepLinkInActivityDestination.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html) - +Since +: 2.5.0 Affects : Resource files Editing @@ -101,17 +102,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.9.0-alpha03") +implementation("androidx.navigation:navigation-runtime:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.9.0-alpha03" +navigation-runtime = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -123,7 +124,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/DefaultCleartextTraffic.md.html b/docs/checks/DefaultCleartextTraffic.md.html index 44a33f29..87c7c87b 100644 --- a/docs/checks/DefaultCleartextTraffic.md.html +++ b/docs/checks/DefaultCleartextTraffic.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Manifest files Editing diff --git a/docs/checks/DefaultEncoding.md.html b/docs/checks/DefaultEncoding.md.html index 47c1ba6d..aef44ccd 100644 --- a/docs/checks/DefaultEncoding.md.html +++ b/docs/checks/DefaultEncoding.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DefaultEncodingDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DefaultEncodingDetectorTest.kt) -Copyright Year -: 2021 Some APIs will implicitly use the default system character encoding instead of UTF-8 when converting to or from bytes, such as when creating diff --git a/docs/checks/DefaultLayoutAttribute.md.html b/docs/checks/DefaultLayoutAttribute.md.html index b74ceb2b..4631f903 100644 --- a/docs/checks/DefaultLayoutAttribute.md.html +++ b/docs/checks/DefaultLayoutAttribute.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/DefaultLocale.md.html b/docs/checks/DefaultLocale.md.html index 7e85d207..4420b36b 100644 --- a/docs/checks/DefaultLocale.md.html +++ b/docs/checks/DefaultLocale.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/DefaultTrustedUserCerts.md.html b/docs/checks/DefaultTrustedUserCerts.md.html index 1320054e..ab0551b7 100644 --- a/docs/checks/DefaultTrustedUserCerts.md.html +++ b/docs/checks/DefaultTrustedUserCerts.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Manifest files Editing diff --git a/docs/checks/DeletedProvider.md.html b/docs/checks/DeletedProvider.md.html index 94d3b539..0eee685b 100644 --- a/docs/checks/DeletedProvider.md.html +++ b/docs/checks/DeletedProvider.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DeletedProviderDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DeletedProviderDetectorTest.kt) -Copyright Year -: 2018 The `Crypto` provider has been completely removed in Android P (and was deprecated in an earlier release). This means that the code will throw a diff --git a/docs/checks/DenyListedApi.md.html b/docs/checks/DenyListedApi.md.html index b0b17d57..0b2cef03 100644 --- a/docs/checks/DenyListedApi.md.html +++ b/docs/checks/DenyListedApi.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files, resource files and test sources Editing diff --git a/docs/checks/DenyListedBlockingApi.md.html b/docs/checks/DenyListedBlockingApi.md.html index febe2735..917dafed 100644 --- a/docs/checks/DenyListedBlockingApi.md.html +++ b/docs/checks/DenyListedBlockingApi.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.7.0 Affects : Kotlin and Java files, resource files and test sources Editing diff --git a/docs/checks/Deprecated.md.html b/docs/checks/Deprecated.md.html index 58a1d6db..fe9555ad 100644 --- a/docs/checks/Deprecated.md.html +++ b/docs/checks/Deprecated.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/DeprecatedCall.md.html b/docs/checks/DeprecatedCall.md.html index 3a7feb37..1cd16a34 100644 --- a/docs/checks/DeprecatedCall.md.html +++ b/docs/checks/DeprecatedCall.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DeprecatedProvider.md.html b/docs/checks/DeprecatedProvider.md.html index 901eeed0..8ba987bf 100644 --- a/docs/checks/DeprecatedProvider.md.html +++ b/docs/checks/DeprecatedProvider.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CipherGetInstanceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CipherGetInstanceDetectorTest.kt) -Copyright Year -: 2014 The `BC` provider has been deprecated and will not be provided when `targetSdkVersion` is P or higher. diff --git a/docs/checks/DeprecatedSinceApi.md.html b/docs/checks/DeprecatedSinceApi.md.html index 56701c04..8feb3e94 100644 --- a/docs/checks/DeprecatedSinceApi.md.html +++ b/docs/checks/DeprecatedSinceApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DeprecatedSinceApiDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DeprecatedSinceApiDetectorTest.kt) -Copyright Year -: 2022 Some backport methods are only necessary until a specific version of Android. These have been annotated with `@DeprecatedSinceApi`, diff --git a/docs/checks/DeprecatedSqlUsage.md.html b/docs/checks/DeprecatedSqlUsage.md.html index 7e5bb0e6..718bedcd 100644 --- a/docs/checks/DeprecatedSqlUsage.md.html +++ b/docs/checks/DeprecatedSqlUsage.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DetachAndAttachSameFragment.md.html b/docs/checks/DetachAndAttachSameFragment.md.html index 713d56f1..3da68995 100644 --- a/docs/checks/DetachAndAttachSameFragment.md.html +++ b/docs/checks/DetachAndAttachSameFragment.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/DevModeObsolete.md.html b/docs/checks/DevModeObsolete.md.html index 4bd32514..8b568d92 100644 --- a/docs/checks/DevModeObsolete.md.html +++ b/docs/checks/DevModeObsolete.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Gradle build files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 In the past, our documentation recommended creating a `dev` product flavor with has a minSdkVersion of 21, in order to enable multidexing to diff --git a/docs/checks/DeviceAdmin.md.html b/docs/checks/DeviceAdmin.md.html index b52bdce0..66c08305 100644 --- a/docs/checks/DeviceAdmin.md.html +++ b/docs/checks/DeviceAdmin.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/DialogFragmentCallbacksDetector.md.html b/docs/checks/DialogFragmentCallbacksDetector.md.html index 1aec5e8f..68eb4741 100644 --- a/docs/checks/DialogFragmentCallbacksDetector.md.html +++ b/docs/checks/DialogFragmentCallbacksDetector.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/DiffUtilEquals.md.html b/docs/checks/DiffUtilEquals.md.html index db05cfb8..78db3853 100644 --- a/docs/checks/DiffUtilEquals.md.html +++ b/docs/checks/DiffUtilEquals.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.4.0 (April 2019) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DiffUtilDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DiffUtilDetectorTest.kt) -Copyright Year -: 2018 `areContentsTheSame` is used by `DiffUtil` to produce diffs. If the method is implemented incorrectly, such as using identity equals instead diff --git a/docs/checks/DisableBaselineAlignment.md.html b/docs/checks/DisableBaselineAlignment.md.html index 33bc0179..1d7c1d91 100644 --- a/docs/checks/DisableBaselineAlignment.md.html +++ b/docs/checks/DisableBaselineAlignment.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/DisabledAllSafeBrowsing.md.html b/docs/checks/DisabledAllSafeBrowsing.md.html index d4054fe1..9b41cfe4 100644 --- a/docs/checks/DisabledAllSafeBrowsing.md.html +++ b/docs/checks/DisabledAllSafeBrowsing.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Manifest files Editing diff --git a/docs/checks/DiscouragedApi.md.html b/docs/checks/DiscouragedApi.md.html index 9d5656ca..a2454763 100644 --- a/docs/checks/DiscouragedApi.md.html +++ b/docs/checks/DiscouragedApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DiscouragedDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DiscouragedDetectorTest.kt) -Copyright Year -: 2021 Discouraged APIs are allowed and are not deprecated, but they may be unfit for common use (e.g. due to slow performance or subtle behavior). diff --git a/docs/checks/DiscouragedPrivateApi.md.html b/docs/checks/DiscouragedPrivateApi.md.html index 1b449384..7526711d 100644 --- a/docs/checks/DiscouragedPrivateApi.md.html +++ b/docs/checks/DiscouragedPrivateApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PrivateApiDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PrivateApiDetectorTest.kt) -Copyright Year -: 2017 Usage of restricted non-SDK interface may throw an exception at runtime. Accessing non-SDK methods or fields through reflection has a high diff --git a/docs/checks/DoNotCallProviders.md.html b/docs/checks/DoNotCallProviders.md.html index 01c5f13d..3b3a8d92 100644 --- a/docs/checks/DoNotCallProviders.md.html +++ b/docs/checks/DoNotCallProviders.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/DoNotCallViewToString.md.html b/docs/checks/DoNotCallViewToString.md.html index bec11f7e..e9bffafb 100644 --- a/docs/checks/DoNotCallViewToString.md.html +++ b/docs/checks/DoNotCallViewToString.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.8.1 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotExposeEitherNetInRepositories.md.html b/docs/checks/DoNotExposeEitherNetInRepositories.md.html index 25362711..52f5bd04 100644 --- a/docs/checks/DoNotExposeEitherNetInRepositories.md.html +++ b/docs/checks/DoNotExposeEitherNetInRepositories.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMock.md.html b/docs/checks/DoNotMock.md.html index 4839dc1b..e75e327c 100644 --- a/docs/checks/DoNotMock.md.html +++ b/docs/checks/DoNotMock.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMockAnything.md.html b/docs/checks/DoNotMockAnything.md.html index f28e3577..91750600 100644 --- a/docs/checks/DoNotMockAnything.md.html +++ b/docs/checks/DoNotMockAnything.md.html @@ -30,7 +30,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.7.2 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMockAutoValue.md.html b/docs/checks/DoNotMockAutoValue.md.html index 5f9bc8a2..9b1c5bf8 100644 --- a/docs/checks/DoNotMockAutoValue.md.html +++ b/docs/checks/DoNotMockAutoValue.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMockDataClass.md.html b/docs/checks/DoNotMockDataClass.md.html index 63a913c9..34c2be9f 100644 --- a/docs/checks/DoNotMockDataClass.md.html +++ b/docs/checks/DoNotMockDataClass.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMockObjectClass.md.html b/docs/checks/DoNotMockObjectClass.md.html index eb73da0d..e4728d2c 100644 --- a/docs/checks/DoNotMockObjectClass.md.html +++ b/docs/checks/DoNotMockObjectClass.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.3.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMockPlatformTypes.md.html b/docs/checks/DoNotMockPlatformTypes.md.html index 0b372813..ca1bb2ad 100644 --- a/docs/checks/DoNotMockPlatformTypes.md.html +++ b/docs/checks/DoNotMockPlatformTypes.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.4.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMockRecordClass.md.html b/docs/checks/DoNotMockRecordClass.md.html index 3379cd74..ff7008db 100644 --- a/docs/checks/DoNotMockRecordClass.md.html +++ b/docs/checks/DoNotMockRecordClass.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.3.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DoNotMockSealedClass.md.html b/docs/checks/DoNotMockSealedClass.md.html index 70a50638..0bb0947c 100644 --- a/docs/checks/DoNotMockSealedClass.md.html +++ b/docs/checks/DoNotMockSealedClass.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.3.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/DrawAllocation.md.html b/docs/checks/DrawAllocation.md.html index 7475de86..b93f25b3 100644 --- a/docs/checks/DrawAllocation.md.html +++ b/docs/checks/DrawAllocation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/DuplicateActivity.md.html b/docs/checks/DuplicateActivity.md.html index 51c73f1d..fda7075c 100644 --- a/docs/checks/DuplicateActivity.md.html +++ b/docs/checks/DuplicateActivity.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/DuplicateDefinition.md.html b/docs/checks/DuplicateDefinition.md.html index cc0e31ca..b58c3f0e 100644 --- a/docs/checks/DuplicateDefinition.md.html +++ b/docs/checks/DuplicateDefinition.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/DuplicateDivider.md.html b/docs/checks/DuplicateDivider.md.html index a9789455..948738b0 100644 --- a/docs/checks/DuplicateDivider.md.html +++ b/docs/checks/DuplicateDivider.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ItemDecoratorDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ItemDecoratorDetectorTest.kt) -Copyright Year -: 2016 Older versions of the RecyclerView library did not include a divider decorator, but one was provided as a sample in the support demos. This diff --git a/docs/checks/DuplicateIds.md.html b/docs/checks/DuplicateIds.md.html index 28f4b3a1..9bf2d504 100644 --- a/docs/checks/DuplicateIds.md.html +++ b/docs/checks/DuplicateIds.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/DuplicateIncludedIds.md.html b/docs/checks/DuplicateIncludedIds.md.html index a3ea45d8..347edfac 100644 --- a/docs/checks/DuplicateIncludedIds.md.html +++ b/docs/checks/DuplicateIncludedIds.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/DuplicatePlatformClasses.md.html b/docs/checks/DuplicatePlatformClasses.md.html index 8931987f..50748cbd 100644 --- a/docs/checks/DuplicatePlatformClasses.md.html +++ b/docs/checks/DuplicatePlatformClasses.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 There are a number of libraries that duplicate not just functionality of the Android platform but using the exact same class names as the ones diff --git a/docs/checks/DuplicateStrings.md.html b/docs/checks/DuplicateStrings.md.html index f5c6b2d4..65b6a302 100644 --- a/docs/checks/DuplicateStrings.md.html +++ b/docs/checks/DuplicateStrings.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.3.0 (January 2019) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/StringCasingDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/StringCasingDetectorTest.kt) -Copyright Year -: 2018 Duplicate strings can make applications larger unnecessarily. diff --git a/docs/checks/DuplicateUsesFeature.md.html b/docs/checks/DuplicateUsesFeature.md.html index d2c2a8d8..f9e0be48 100644 --- a/docs/checks/DuplicateUsesFeature.md.html +++ b/docs/checks/DuplicateUsesFeature.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/EagerGradleConfiguration.md.html b/docs/checks/EagerGradleConfiguration.md.html index f5068f0b..2eb8f333 100644 --- a/docs/checks/EagerGradleConfiguration.md.html +++ b/docs/checks/EagerGradleConfiguration.md.html @@ -21,12 +21,13 @@ Feedback : https://issuetracker.google.com/issues/new?component=1147525 Min -: Lint 8.0 and 8.1 +: Lint 8.7+ Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) - +Since +: 1.0.0-alpha02 Affects : Kotlin and Java files Editing @@ -52,17 +53,17 @@ ``` // build.gradle.kts -implementation("androidx.lint:lint-gradle:1.0.0-alpha02") +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") // build.gradle -implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lint.gradle) # libs.versions.toml [versions] -lint-gradle = "1.0.0-alpha02" +lint-gradle = "1.0.0-alpha03" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -74,7 +75,7 @@ } ``` -1.0.0-alpha02 is the version this documentation was generated from; +1.0.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). diff --git a/docs/checks/EasterEgg.md.html b/docs/checks/EasterEgg.md.html index 2e54c03b..f8de6ffd 100644 --- a/docs/checks/EasterEgg.md.html +++ b/docs/checks/EasterEgg.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files, Kotlin and Java files, manifest files, property files and resource files Editing diff --git a/docs/checks/EditedTargetSdkVersion.md.html b/docs/checks/EditedTargetSdkVersion.md.html index f44145b3..494578e4 100644 --- a/docs/checks/EditedTargetSdkVersion.md.html +++ b/docs/checks/EditedTargetSdkVersion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Gradle build files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Updating the `targetSdkVersion` of an app is seemingly easy: just increment the `targetSdkVersion` number in the manifest file! diff --git a/docs/checks/EllipsizeMaxLines.md.html b/docs/checks/EllipsizeMaxLines.md.html index 19c45e55..6de85fd2 100644 --- a/docs/checks/EllipsizeMaxLines.md.html +++ b/docs/checks/EllipsizeMaxLines.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/EllipsizeMaxLinesDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/EllipsizeMaxLinesDetectorTest.java) -Copyright Year -: 2017 Combining `ellipsize` and `maxLines=1` can lead to crashes on some devices. Earlier versions of lint recommended replacing diff --git a/docs/checks/EmptyNavDeepLink.md.html b/docs/checks/EmptyNavDeepLink.md.html index a8ad5f1e..240193d1 100644 --- a/docs/checks/EmptyNavDeepLink.md.html +++ b/docs/checks/EmptyNavDeepLink.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html) - +Since +: 2.6.0 Affects : Kotlin and Java files Editing @@ -89,17 +90,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.9.0-alpha03") +implementation("androidx.navigation:navigation-common:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-common:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-common:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.9.0-alpha03" +navigation-common = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -111,7 +112,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html). diff --git a/docs/checks/EmptySuperCall.md.html b/docs/checks/EmptySuperCall.md.html index d1811f50..3dabc18d 100644 --- a/docs/checks/EmptySuperCall.md.html +++ b/docs/checks/EmptySuperCall.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/EmptySuperDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/EmptySuperDetectorTest.kt) -Copyright Year -: 2022 For methods annotated with `@EmptySuper`, overriding methods should not also call the super implementation, either because it is empty, or diff --git a/docs/checks/EnforceUTF8.md.html b/docs/checks/EnforceUTF8.md.html index 70544f5a..552311db 100644 --- a/docs/checks/EnforceUTF8.md.html +++ b/docs/checks/EnforceUTF8.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/EnqueueWork.md.html b/docs/checks/EnqueueWork.md.html index 93a619ac..5c21c3fc 100644 --- a/docs/checks/EnqueueWork.md.html +++ b/docs/checks/EnqueueWork.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WorkManagerDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WorkManagerDetectorTest.kt) -Copyright Year -: 2018 `WorkContinuations` cannot be enqueued automatically. You must call `enqueue()` on a `WorkContinuation` to have it and its parent diff --git a/docs/checks/EnsureInitializerMetadata.md.html b/docs/checks/EnsureInitializerMetadata.md.html index 5480a115..7b1f527f 100644 --- a/docs/checks/EnsureInitializerMetadata.md.html +++ b/docs/checks/EnsureInitializerMetadata.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.startup:startup-runtime](androidx_startup_startup-runtime.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files and manifest files Editing diff --git a/docs/checks/EnsureInitializerNoArgConstr.md.html b/docs/checks/EnsureInitializerNoArgConstr.md.html index 76d53f8d..6ee46b41 100644 --- a/docs/checks/EnsureInitializerNoArgConstr.md.html +++ b/docs/checks/EnsureInitializerNoArgConstr.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.startup:startup-runtime](androidx_startup_startup-runtime.md.html) - +Since +: 1.0.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/ErroneousLayoutAttribute.md.html b/docs/checks/ErroneousLayoutAttribute.md.html index 443994e3..81d27d1d 100644 --- a/docs/checks/ErroneousLayoutAttribute.md.html +++ b/docs/checks/ErroneousLayoutAttribute.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/ErrorProneDoNotMockUsage.md.html b/docs/checks/ErrorProneDoNotMockUsage.md.html index 24c9794d..a31e259c 100644 --- a/docs/checks/ErrorProneDoNotMockUsage.md.html +++ b/docs/checks/ErrorProneDoNotMockUsage.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ExactAlarm.md.html b/docs/checks/ExactAlarm.md.html index bc9e3f88..08e37cdf 100644 --- a/docs/checks/ExactAlarm.md.html +++ b/docs/checks/ExactAlarm.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AlarmDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AlarmDetectorTest.kt) -Copyright Year -: 2015 The `USE_EXACT_ALARM` permission is only available when targeting API level 33 and above. Also, note that this permission is only permitted diff --git a/docs/checks/ExceptionMessage.md.html b/docs/checks/ExceptionMessage.md.html index 10f7ad1b..22dbef70 100644 --- a/docs/checks/ExceptionMessage.md.html +++ b/docs/checks/ExceptionMessage.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ExifInterface.md.html b/docs/checks/ExifInterface.md.html index e5e99459..ac63734a 100644 --- a/docs/checks/ExifInterface.md.html +++ b/docs/checks/ExifInterface.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ExifInterfaceDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ExifInterfaceDetectorTest.java) -Copyright Year -: 2016 The `android.media.ExifInterface` implementation has some known security bugs in older versions of Android. There is a new implementation diff --git a/docs/checks/ExpensiveAssertion.md.html b/docs/checks/ExpensiveAssertion.md.html index b2ad61f6..de35e96c 100644 --- a/docs/checks/ExpensiveAssertion.md.html +++ b/docs/checks/ExpensiveAssertion.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.0.0 (May 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AssertDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AssertDetectorTest.kt) -Copyright Year -: 2014 In Kotlin, assertions are not handled the same way as from the Java programming language. In particular, they're just implemented as a diff --git a/docs/checks/ExperimentalAnnotationRetention.md.html b/docs/checks/ExperimentalAnnotationRetention.md.html index 617760b2..547734ae 100644 --- a/docs/checks/ExperimentalAnnotationRetention.md.html +++ b/docs/checks/ExperimentalAnnotationRetention.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/ExpiredTargetSdkVersion.md.html b/docs/checks/ExpiredTargetSdkVersion.md.html index e3bd7817..6f35cf60 100644 --- a/docs/checks/ExpiredTargetSdkVersion.md.html +++ b/docs/checks/ExpiredTargetSdkVersion.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Gradle build files and manifest files Editing @@ -32,8 +34,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Configuring your app or sdk to target a recent API level ensures that users benefit from significant security and performance improvements, diff --git a/docs/checks/ExpiringTargetSdkVersion.md.html b/docs/checks/ExpiringTargetSdkVersion.md.html index 98dc5f9f..1dd507d3 100644 --- a/docs/checks/ExpiringTargetSdkVersion.md.html +++ b/docs/checks/ExpiringTargetSdkVersion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Gradle build files and manifest files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Configuring your app or sdk to target a recent API level ensures that users benefit from significant security and performance improvements, diff --git a/docs/checks/ExportedContentProvider.md.html b/docs/checks/ExportedContentProvider.md.html index a9802d97..85398661 100644 --- a/docs/checks/ExportedContentProvider.md.html +++ b/docs/checks/ExportedContentProvider.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/ExportedPreferenceActivity.md.html b/docs/checks/ExportedPreferenceActivity.md.html index 51d4225c..a0d127ae 100644 --- a/docs/checks/ExportedPreferenceActivity.md.html +++ b/docs/checks/ExportedPreferenceActivity.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and manifest files Editing diff --git a/docs/checks/ExportedReceiver.md.html b/docs/checks/ExportedReceiver.md.html index 7cc3ad27..84fa79a8 100644 --- a/docs/checks/ExportedReceiver.md.html +++ b/docs/checks/ExportedReceiver.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/ExportedService.md.html b/docs/checks/ExportedService.md.html index 6c7a6c58..ab9b62d6 100644 --- a/docs/checks/ExportedService.md.html +++ b/docs/checks/ExportedService.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/ExposedRootPath.md.html b/docs/checks/ExposedRootPath.md.html index 1e3e4985..265fef08 100644 --- a/docs/checks/ExposedRootPath.md.html +++ b/docs/checks/ExposedRootPath.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Resource files Editing diff --git a/docs/checks/ExtraText.md.html b/docs/checks/ExtraText.md.html index d56c83c8..522bba73 100644 --- a/docs/checks/ExtraText.md.html +++ b/docs/checks/ExtraText.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files and resource files Editing diff --git a/docs/checks/ExtraTranslation.md.html b/docs/checks/ExtraTranslation.md.html index 22cdb2b4..2eb9515d 100644 --- a/docs/checks/ExtraTranslation.md.html +++ b/docs/checks/ExtraTranslation.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Binary resource files, resource files and resource folders Editing diff --git a/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html b/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html index f56f5f11..fe170bb5 100644 --- a/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html +++ b/docs/checks/FieldSiteTargetOnQualifierAnnotation.md.html @@ -28,7 +28,8 @@ : Lint 7.1 Artifact : [com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html) - +Since +: 2.40.2 Affects : Kotlin and Java files and test sources Editing @@ -184,17 +185,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.52") +implementation("com.google.dagger:dagger-lint:2.54") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.52' +implementation 'com.google.dagger:dagger-lint:2.54' // build.gradle.kts with version catalogs: implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.52" +dagger-lint = "2.54" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -206,7 +207,7 @@ } ``` -2.52 is the version this documentation was generated from; +2.54 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/FileEndsWithExt.md.html b/docs/checks/FileEndsWithExt.md.html index 104da704..ea48d515 100644 --- a/docs/checks/FileEndsWithExt.md.html +++ b/docs/checks/FileEndsWithExt.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/FileEndsWithDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/FileEndsWithDetectorTest.kt) -Copyright Year -: 2021 The Kotlin extension method `File.endsWith(suffix)` checks whole path components, not just string suffixes. This means that diff --git a/docs/checks/FilePropertyDetector.md.html b/docs/checks/FilePropertyDetector.md.html new file mode 100644 index 00000000..ec8bb4df --- /dev/null +++ b/docs/checks/FilePropertyDetector.md.html @@ -0,0 +1,144 @@ + +(#) Avoid using Property + +!!! ERROR: Avoid using Property + This is an error. + +Id +: `FilePropertyDetector` +Summary +: Avoid using Property +Severity +: Error +Category +: Correctness +Platform +: Any +Vendor +: Android Open Source Project +Identifier +: androidx.lint:lint-gradle +Feedback +: https://issuetracker.google.com/issues/new?component=1147525 +Min +: Lint 8.7+ +Compiled +: Lint 8.7+ +Artifact +: [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) +Since +: 1.0.0-alpha03 +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/main/java/androidx/lint/gradle/FilePropertyDetector.kt) +Tests +: [Source Code](https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:/lint/lint-gradle/src/test/java/androidx/lint/gradle/FilePropertyDetectorTest.kt) +Copyright Year +: 2024 + +`Property` is discouraged. Use `RegularFileProperty` for files or +`DirectoryProperty` for directories to enforce better type safety. + +(##) Including + +!!! + This is not a built-in check. To include it, add the below dependency + to your project. + +``` +// build.gradle.kts +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") + +// build.gradle +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' + +// build.gradle.kts with version catalogs: +implementation(libs.lint.gradle) + +# libs.versions.toml +[versions] +lint-gradle = "1.0.0-alpha03" +[libraries] +# For clarity and text wrapping purposes the following declaration is +# shown split up across lines, but in TOML it needs to be on a single +# line (see https://github.com/toml-lang/toml/issues/516) so adjust +# when pasting into libs.versions.toml: +lint-gradle = { + module = "androidx.lint:lint-gradle", + version.ref = "lint-gradle" +} +``` + +1.0.0-alpha03 is the version this documentation was generated from; +there may be newer versions available. + +[Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("FilePropertyDetector") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("FilePropertyDetector") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection FilePropertyDetector + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="FilePropertyDetector" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'FilePropertyDetector' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore FilePropertyDetector ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/FindViewByIdCast.md.html b/docs/checks/FindViewByIdCast.md.html index fb8e7f31..cb9bde6b 100644 --- a/docs/checks/FindViewByIdCast.md.html +++ b/docs/checks/FindViewByIdCast.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ViewTypeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ViewTypeDetectorTest.kt) -Copyright Year -: 2011 In Android O, the `findViewById` signature switched to using generics, which means that most of the time you can leave out explicit casts and diff --git a/docs/checks/FlowOperatorInvokedInComposition.md.html b/docs/checks/FlowOperatorInvokedInComposition.md.html index 9677d01f..e2514fca 100644 --- a/docs/checks/FlowOperatorInvokedInComposition.md.html +++ b/docs/checks/FlowOperatorInvokedInComposition.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -238,17 +239,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -260,11 +261,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/FontValidation.md.html b/docs/checks/FontValidation.md.html index 8c2b3e9c..d93e4daa 100644 --- a/docs/checks/FontValidation.md.html +++ b/docs/checks/FontValidation.md.html @@ -6,10 +6,6 @@ Id : `FontValidation` -Previously -: FontValidationWarning -Previously -: FontValidationError Summary : Validation of font files Severity @@ -22,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Resource files Editing @@ -32,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/FontDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/FontDetectorTest.java) -Copyright Year -: 2017 Look for problems in various font files. diff --git a/docs/checks/ForegroundServicePermission.md.html b/docs/checks/ForegroundServicePermission.md.html index 22954b66..6398827f 100644 --- a/docs/checks/ForegroundServicePermission.md.html +++ b/docs/checks/ForegroundServicePermission.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files and manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ForegroundServicePermissionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ForegroundServicePermissionDetectorTest.kt) -Copyright Year -: 2023 For targetSdkVersion >= 34, each `foregroundServiceType` listed in the `` element requires specific sets of permissions to be declared diff --git a/docs/checks/ForegroundServiceType.md.html b/docs/checks/ForegroundServiceType.md.html index ff027913..3eac4fb1 100644 --- a/docs/checks/ForegroundServiceType.md.html +++ b/docs/checks/ForegroundServiceType.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files and manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ForegroundServiceTypesDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ForegroundServiceTypesDetectorTest.kt) -Copyright Year -: 2023 For `targetSdkVersion` >= 34, to call `Service.startForeground()`, the element in the manifest file must have the diff --git a/docs/checks/FormalGerman.md.html b/docs/checks/FormalGerman.md.html index 09b38fd6..d140bebe 100644 --- a/docs/checks/FormalGerman.md.html +++ b/docs/checks/FormalGerman.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/FragmentAddMenuProvider.md.html b/docs/checks/FragmentAddMenuProvider.md.html index 5c450f4a..ea5a8d14 100644 --- a/docs/checks/FragmentAddMenuProvider.md.html +++ b/docs/checks/FragmentAddMenuProvider.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/FragmentBackPressedCallback.md.html b/docs/checks/FragmentBackPressedCallback.md.html index 8b2a2f36..66d5a601 100644 --- a/docs/checks/FragmentBackPressedCallback.md.html +++ b/docs/checks/FragmentBackPressedCallback.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.2.2 Affects : Kotlin and Java files Editing diff --git a/docs/checks/FragmentConstructorInjection.md.html b/docs/checks/FragmentConstructorInjection.md.html index 3debfd3f..b84d23cb 100644 --- a/docs/checks/FragmentConstructorInjection.md.html +++ b/docs/checks/FragmentConstructorInjection.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/FragmentFieldInjection.md.html b/docs/checks/FragmentFieldInjection.md.html index 8f4b70a3..3bd37e2c 100644 --- a/docs/checks/FragmentFieldInjection.md.html +++ b/docs/checks/FragmentFieldInjection.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/FragmentGradleConfiguration-2.md.html b/docs/checks/FragmentGradleConfiguration-2.md.html index 31cda27a..32051b0e 100644 --- a/docs/checks/FragmentGradleConfiguration-2.md.html +++ b/docs/checks/FragmentGradleConfiguration-2.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment-testing-manifest](androidx_fragment_fragment-testing-manifest.md.html) - +Since +: 1.6.0 Affects : Gradle build files Editing diff --git a/docs/checks/FragmentGradleConfiguration.md.html b/docs/checks/FragmentGradleConfiguration.md.html index 83463537..57f951c0 100644 --- a/docs/checks/FragmentGradleConfiguration.md.html +++ b/docs/checks/FragmentGradleConfiguration.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment-testing](androidx_fragment_fragment-testing.md.html) - +Since +: 1.6.0 Affects : Gradle build files Editing diff --git a/docs/checks/FragmentLiveDataObserve.md.html b/docs/checks/FragmentLiveDataObserve.md.html index 500bc881..e213025e 100644 --- a/docs/checks/FragmentLiveDataObserve.md.html +++ b/docs/checks/FragmentLiveDataObserve.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/FragmentTagUsage.md.html b/docs/checks/FragmentTagUsage.md.html index c3afeb0c..c6e06c71 100644 --- a/docs/checks/FragmentTagUsage.md.html +++ b/docs/checks/FragmentTagUsage.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.2.0 Affects : Resource files Editing diff --git a/docs/checks/FrequentlyChangedStateReadInComposition.md.html b/docs/checks/FrequentlyChangedStateReadInComposition.md.html index 31325687..5bd430f6 100644 --- a/docs/checks/FrequentlyChangedStateReadInComposition.md.html +++ b/docs/checks/FrequentlyChangedStateReadInComposition.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -126,17 +127,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha06") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha06' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.8.0-alpha06" +foundation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -148,11 +149,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/FullBackupContent.md.html b/docs/checks/FullBackupContent.md.html index d2b84b0d..328003d4 100644 --- a/docs/checks/FullBackupContent.md.html +++ b/docs/checks/FullBackupContent.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.3.0 (July 2015) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/FullBackupContentDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/FullBackupContentDetectorTest.kt) -Copyright Year -: 2015 Ensures that ` and `` files, which configure backup options, are valid. diff --git a/docs/checks/FullyQualifiedResource.md.html b/docs/checks/FullyQualifiedResource.md.html index 84740560..9fe5bd87 100644 --- a/docs/checks/FullyQualifiedResource.md.html +++ b/docs/checks/FullyQualifiedResource.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/GestureBackNavigation.md.html b/docs/checks/GestureBackNavigation.md.html index c662b04d..4665e66c 100644 --- a/docs/checks/GestureBackNavigation.md.html +++ b/docs/checks/GestureBackNavigation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GestureBackNavDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GestureBackNavDetectorTest.kt) -Copyright Year -: 2022 Starting in Android 13 (API 33+), the handling of back events is moving to an ahead-of-time callback model. Use diff --git a/docs/checks/GetContentDescriptionOverride.md.html b/docs/checks/GetContentDescriptionOverride.md.html index 2b0d1969..51630a32 100644 --- a/docs/checks/GetContentDescriptionOverride.md.html +++ b/docs/checks/GetContentDescriptionOverride.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GetContentDescriptionOverrideDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GetContentDescriptionOverrideDetectorTest.kt) -Copyright Year -: 2016 Overriding `getContentDescription()` may prevent some accessibility services from properly navigating content exposed by your view. Instead, diff --git a/docs/checks/GetInstance.md.html b/docs/checks/GetInstance.md.html index d996254e..900f198f 100644 --- a/docs/checks/GetInstance.md.html +++ b/docs/checks/GetInstance.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/GetLocales.md.html b/docs/checks/GetLocales.md.html index 215ace9a..921679fc 100644 --- a/docs/checks/GetLocales.md.html +++ b/docs/checks/GetLocales.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files, library bytecode and resource folders Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LocaleFolderDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LocaleFolderDetectorTest.kt) -Copyright Year -: 2014 This check looks for usage of Lollipop-style locale folders (e.g. 3 letter language codes, or BCP 47 qualifiers) combined with an diff --git a/docs/checks/GifUsage.md.html b/docs/checks/GifUsage.md.html index 57e72649..3a66bea2 100644 --- a/docs/checks/GifUsage.md.html +++ b/docs/checks/GifUsage.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/GradleCompatible.md.html b/docs/checks/GradleCompatible.md.html index 072a8fde..ff397c4e 100644 --- a/docs/checks/GradleCompatible.md.html +++ b/docs/checks/GradleCompatible.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing @@ -59,7 +61,7 @@ apply plugin: 'android' android { - compileSdkVersion 34 + compileSdkVersion 35 buildToolsVersion "19.0.0" defaultConfig { diff --git a/docs/checks/GradleDependency.md.html b/docs/checks/GradleDependency.md.html index 3b3be788..e4bab6ff 100644 --- a/docs/checks/GradleDependency.md.html +++ b/docs/checks/GradleDependency.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files and TOML files Editing @@ -74,7 +76,7 @@ apply plugin: 'android' android { - compileSdkVersion 34 + compileSdkVersion 35 buildToolsVersion "19.0.0" defaultConfig { diff --git a/docs/checks/GradleDeprecated.md.html b/docs/checks/GradleDeprecated.md.html index f36e8daa..4de7da7e 100644 --- a/docs/checks/GradleDeprecated.md.html +++ b/docs/checks/GradleDeprecated.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing @@ -52,7 +54,7 @@ apply plugin: 'android' android { - compileSdkVersion 34 + compileSdkVersion 35 buildToolsVersion "19.0.0" defaultConfig { diff --git a/docs/checks/GradleDeprecatedConfiguration.md.html b/docs/checks/GradleDeprecatedConfiguration.md.html index 1f789834..61a284c1 100644 --- a/docs/checks/GradleDeprecatedConfiguration.md.html +++ b/docs/checks/GradleDeprecatedConfiguration.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Some Gradle configurations have been deprecated since Android Gradle Plugin 3.0.0 and will be removed in a future version of the Android diff --git a/docs/checks/GradleDynamicVersion.md.html b/docs/checks/GradleDynamicVersion.md.html index 574ddaa4..b7c6b553 100644 --- a/docs/checks/GradleDynamicVersion.md.html +++ b/docs/checks/GradleDynamicVersion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing @@ -57,7 +59,7 @@ apply plugin: 'android' android { - compileSdkVersion 34 + compileSdkVersion 35 buildToolsVersion "19.0.0" defaultConfig { diff --git a/docs/checks/GradleGetter.md.html b/docs/checks/GradleGetter.md.html index 8ca842b0..e92002d4 100644 --- a/docs/checks/GradleGetter.md.html +++ b/docs/checks/GradleGetter.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing diff --git a/docs/checks/GradleIdeError.md.html b/docs/checks/GradleIdeError.md.html index bf26396d..0ccec2a7 100644 --- a/docs/checks/GradleIdeError.md.html +++ b/docs/checks/GradleIdeError.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing diff --git a/docs/checks/GradleOverrides.md.html b/docs/checks/GradleOverrides.md.html index 3cc2406f..ae52b8e3 100644 --- a/docs/checks/GradleOverrides.md.html +++ b/docs/checks/GradleOverrides.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/GradlePath.md.html b/docs/checks/GradlePath.md.html index 2d402d97..c5e5b74c 100644 --- a/docs/checks/GradlePath.md.html +++ b/docs/checks/GradlePath.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing diff --git a/docs/checks/GradlePluginVersion.md.html b/docs/checks/GradlePluginVersion.md.html index cea3edd8..d7c50db1 100644 --- a/docs/checks/GradlePluginVersion.md.html +++ b/docs/checks/GradlePluginVersion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Gradle build files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Not all versions of the Android Gradle plugin are compatible with all versions of the SDK. If you update your tools, or if you are trying to diff --git a/docs/checks/GradleProjectIsolation.md.html b/docs/checks/GradleProjectIsolation.md.html index efda519b..c1c0dd5d 100644 --- a/docs/checks/GradleProjectIsolation.md.html +++ b/docs/checks/GradleProjectIsolation.md.html @@ -21,12 +21,13 @@ Feedback : https://issuetracker.google.com/issues/new?component=1147525 Min -: Lint 8.0 and 8.1 +: Lint 8.7+ Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) - +Since +: 1.0.0-alpha02 Affects : Kotlin and Java files Editing @@ -51,17 +52,17 @@ ``` // build.gradle.kts -implementation("androidx.lint:lint-gradle:1.0.0-alpha02") +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") // build.gradle -implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lint.gradle) # libs.versions.toml [versions] -lint-gradle = "1.0.0-alpha02" +lint-gradle = "1.0.0-alpha03" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -73,7 +74,7 @@ } ``` -1.0.0-alpha02 is the version this documentation was generated from; +1.0.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). diff --git a/docs/checks/GrantAllUris.md.html b/docs/checks/GrantAllUris.md.html index 7b232b32..c55febe5 100644 --- a/docs/checks/GrantAllUris.md.html +++ b/docs/checks/GrantAllUris.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/GridLayout.md.html b/docs/checks/GridLayout.md.html index 903fedf2..087eee4b 100644 --- a/docs/checks/GridLayout.md.html +++ b/docs/checks/GridLayout.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/GuavaChecksUsed.md.html b/docs/checks/GuavaChecksUsed.md.html index 97d9d996..e45746ee 100644 --- a/docs/checks/GuavaChecksUsed.md.html +++ b/docs/checks/GuavaChecksUsed.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/GuavaPreconditionsUsedInKotlin.md.html b/docs/checks/GuavaPreconditionsUsedInKotlin.md.html index 1540f831..5b068ee7 100644 --- a/docs/checks/GuavaPreconditionsUsedInKotlin.md.html +++ b/docs/checks/GuavaPreconditionsUsedInKotlin.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/HalfFloat.md.html b/docs/checks/HalfFloat.md.html index a3537899..71dd6cb7 100644 --- a/docs/checks/HalfFloat.md.html +++ b/docs/checks/HalfFloat.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ResourceTypeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ResourceTypeDetectorTest.kt) -Copyright Year -: 2017 Half-precision floating point are stored in a short data type, and should be manipulated using the `android.util.Half` class. This check diff --git a/docs/checks/HandlerLeak.md.html b/docs/checks/HandlerLeak.md.html index 1e653934..190d1fd8 100644 --- a/docs/checks/HandlerLeak.md.html +++ b/docs/checks/HandlerLeak.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/HardcodedDebugMode.md.html b/docs/checks/HardcodedDebugMode.md.html index 77b15d76..72ef6098 100644 --- a/docs/checks/HardcodedDebugMode.md.html +++ b/docs/checks/HardcodedDebugMode.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/HardcodedText.md.html b/docs/checks/HardcodedText.md.html index 658f1fba..658156ff 100644 --- a/docs/checks/HardcodedText.md.html +++ b/docs/checks/HardcodedText.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/HardwareIds.md.html b/docs/checks/HardwareIds.md.html index b5b66cc6..7afef299 100644 --- a/docs/checks/HardwareIds.md.html +++ b/docs/checks/HardwareIds.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/HardwareIdDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/HardwareIdDetectorTest.kt) -Copyright Year -: 2016 Using these device identifiers is not recommended other than for high value fraud prevention and advanced telephony use-cases. For advertising diff --git a/docs/checks/HighAppVersionCode.md.html b/docs/checks/HighAppVersionCode.md.html index 0f9aafc5..6247c792 100644 --- a/docs/checks/HighAppVersionCode.md.html +++ b/docs/checks/HighAppVersionCode.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 The declared `versionCode` is an Integer. Ensure that the version number is not close to the limit. It is recommended to monotonically increase diff --git a/docs/checks/HighSamplingRate.md.html b/docs/checks/HighSamplingRate.md.html index 91679b88..da7c449f 100644 --- a/docs/checks/HighSamplingRate.md.html +++ b/docs/checks/HighSamplingRate.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/HighSensorSamplingRateDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/HighSensorSamplingRateDetectorTest.kt) -Copyright Year -: 2021 Most apps don't need access to high sensor sampling rate. Double check your use case to ensure your app absolutely needs access to sensor diff --git a/docs/checks/IconColors.md.html b/docs/checks/IconColors.md.html index 3a397b54..7b47d8fc 100644 --- a/docs/checks/IconColors.md.html +++ b/docs/checks/IconColors.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/IconDensities.md.html b/docs/checks/IconDensities.md.html index cf85366a..facd0e32 100644 --- a/docs/checks/IconDensities.md.html +++ b/docs/checks/IconDensities.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconDipSize.md.html b/docs/checks/IconDipSize.md.html index 3cc6394a..8f6a1ff1 100644 --- a/docs/checks/IconDipSize.md.html +++ b/docs/checks/IconDipSize.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconDuplicates.md.html b/docs/checks/IconDuplicates.md.html index edff464c..f950ceb1 100644 --- a/docs/checks/IconDuplicates.md.html +++ b/docs/checks/IconDuplicates.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconDuplicatesConfig.md.html b/docs/checks/IconDuplicatesConfig.md.html index fe6e0bbd..5c6c827a 100644 --- a/docs/checks/IconDuplicatesConfig.md.html +++ b/docs/checks/IconDuplicatesConfig.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconExpectedSize.md.html b/docs/checks/IconExpectedSize.md.html index facfbe50..fcf32040 100644 --- a/docs/checks/IconExpectedSize.md.html +++ b/docs/checks/IconExpectedSize.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/IconExtension.md.html b/docs/checks/IconExtension.md.html index 5a5d4fd9..a3619944 100644 --- a/docs/checks/IconExtension.md.html +++ b/docs/checks/IconExtension.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconLauncherShape.md.html b/docs/checks/IconLauncherShape.md.html index 2418db34..987289b0 100644 --- a/docs/checks/IconLauncherShape.md.html +++ b/docs/checks/IconLauncherShape.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/IconLocation.md.html b/docs/checks/IconLocation.md.html index 15ca68bb..f61a035a 100644 --- a/docs/checks/IconLocation.md.html +++ b/docs/checks/IconLocation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconMissingDensityFolder.md.html b/docs/checks/IconMissingDensityFolder.md.html index 11e4573e..b8ccb15c 100644 --- a/docs/checks/IconMissingDensityFolder.md.html +++ b/docs/checks/IconMissingDensityFolder.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconMixedNinePatch.md.html b/docs/checks/IconMixedNinePatch.md.html index 58751e12..1890e16a 100644 --- a/docs/checks/IconMixedNinePatch.md.html +++ b/docs/checks/IconMixedNinePatch.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconNoDpi.md.html b/docs/checks/IconNoDpi.md.html index 4c69300f..2986519c 100644 --- a/docs/checks/IconNoDpi.md.html +++ b/docs/checks/IconNoDpi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IconXmlAndPng.md.html b/docs/checks/IconXmlAndPng.md.html index 99da3b31..915d2b60 100644 --- a/docs/checks/IconXmlAndPng.md.html +++ b/docs/checks/IconXmlAndPng.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IdleBatteryChargingConstraints.md.html b/docs/checks/IdleBatteryChargingConstraints.md.html index eec73225..13a73b1a 100644 --- a/docs/checks/IdleBatteryChargingConstraints.md.html +++ b/docs/checks/IdleBatteryChargingConstraints.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/IgnoreWithoutReason.md.html b/docs/checks/IgnoreWithoutReason.md.html index 64e4e960..6df95a14 100644 --- a/docs/checks/IgnoreWithoutReason.md.html +++ b/docs/checks/IgnoreWithoutReason.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.4.0 (April 2019) Affects : Kotlin and Java files and test sources Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IgnoreWithoutReasonDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IgnoreWithoutReasonDetectorTest.kt) -Copyright Year -: 2018 Ignoring a test without a reason makes it difficult to figure out the problem later. Please define an explicit reason why it is ignored, and diff --git a/docs/checks/IllegalResourceRef.md.html b/docs/checks/IllegalResourceRef.md.html index fd6376af..d194e5c8 100644 --- a/docs/checks/IllegalResourceRef.md.html +++ b/docs/checks/IllegalResourceRef.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/ImplicitSamInstance.md.html b/docs/checks/ImplicitSamInstance.md.html index 158a711c..0f79ebb5 100644 --- a/docs/checks/ImplicitSamInstance.md.html +++ b/docs/checks/ImplicitSamInstance.md.html @@ -8,8 +8,6 @@ : `ImplicitSamInstance` Summary : Implicit SAM Instances -Note -: **This issue is disabled by default**; use `--enable ImplicitSamInstance` Severity : Warning Category @@ -20,23 +18,29 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.4.0 (April 2019) Affects : Kotlin and Java files Editing : This check runs on the fly in the IDE editor +See +: https://kotlinlang.org/docs/fun-interfaces.html#sam-conversions Implementation : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SamDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SamDetectorTest.kt) -Copyright Year -: 2018 -Kotlin's support for SAM (single accessor method) interfaces lets you +Kotlin's support for SAM (single abstract method) interfaces lets you pass a lambda to the interface. This will create a new instance on the fly even though there is no explicit constructor call. If you pass one of these lambdas or method references into a method which (for example) stores or compares the object identity, unexpected results may happen. +In particular, passing a lambda variable in as a listener, and then +later attempting to remove the listener will not work because a +different instance is passed in. + !!! Tip This lint check has an associated quickfix available in the IDE. @@ -44,31 +48,31 @@ Here is an example of lint warnings produced by this check: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text -src/test/pkg/test.kt:17:Warning: Implicit new MyInterface instance being +src/test/pkg/test.kt:21:Warning: Implicit new MyInterface instance being passed to method which ends up checking instance equality; this can lead to subtle bugs [ImplicitSamInstance] - handler.stash(lambda, list) // WARN - ------ -src/test/pkg/test.kt:18:Warning: Implicit new MyInterface instance being + handler.delete(lambda) // ERROR 1 + ------ +src/test/pkg/test.kt:22:Warning: Implicit new MyInterface instance being passed to method which ends up checking instance equality; this can lead to subtle bugs [ImplicitSamInstance] - handler.store(lambda) // WARN - ------ -src/test/pkg/test.kt:19:Warning: Implicit new MyInterface instance being + handler.compareIdentity1(lambda) // ERROR 2 + ------ +src/test/pkg/test.kt:23:Warning: Implicit new MyInterface instance being passed to method which ends up checking instance equality; this can lead to subtle bugs [ImplicitSamInstance] - handler.compareIdentity1(lambda) // WARN + handler.compareIdentity2(lambda) // ERROR 3 ------ -src/test/pkg/test.kt:20:Warning: Implicit new MyInterface instance being +src/test/pkg/test.kt:31:Warning: Implicit new MyInterface instance being passed to method which ends up checking instance equality; this can lead to subtle bugs [ImplicitSamInstance] - handler.compareIdentity2(lambda) // WARN - ------ -src/test/pkg/test.kt:27:Warning: Implicit new MyInterface instance being + handler.delete(lambda2) // ERROR 4 + ------- +src/test/pkg/test.kt:35:Warning: Implicit new MyInterface instance being passed to method which ends up checking instance equality; this can lead to subtle bugs [ImplicitSamInstance] - handler.stash(lambda2, list) // WARN - ------- + handler.delete(lambda3) // ERROR 5 + ------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here are the relevant source files: @@ -85,23 +89,31 @@ handler.stash(MyInterface { println("hello") }, list) // OK handler.stash({ println("hello") }, list) // OK handler.store({ println("hello") }) // OK + handler.delete({ println("hello") }) // OK + handler.delete(MyInterface { println("hello") }) // OK handler.compareIdentity1({ println("hello") }) // OK handler.compareIdentity2({ println("hello") }) // OK handler.compareEquals1({ println("hello") }) // OK handler.compareEquals2({ println("hello") }) // OK val lambda = { println("hello") } - handler.stash(lambda, list) // WARN - handler.store(lambda) // WARN - handler.compareIdentity1(lambda) // WARN - handler.compareIdentity2(lambda) // WARN + handler.stash(lambda, list) // OK + handler.store(lambda) // OK + handler.delete(lambda) // ERROR 1 + handler.compareIdentity1(lambda) // ERROR 2 + handler.compareIdentity2(lambda) // ERROR 3 handler.compareEquals1(lambda) // OK handler.compareEquals2(lambda) // OK @Suppress("CanBeVal", "JoinDeclarationAndAssignment") var lambda2: () -> Unit lambda2 = { println("hello") } - handler.stash(lambda2, list) // WARN + handler.stash(lambda2, list) // OK + handler.delete(lambda2) // ERROR 4 + + val lambda3: () -> Unit = { println("hello") } + handler.stash(lambda3, list) // OK + handler.delete(lambda3) // ERROR 5 handler.act({ println("hello") }) // OK handler.act(::callback) // OK @@ -161,6 +173,13 @@ private MyInterface last; + private void removeActor(MyInterface actor) { + } + + public fun delete(MyInterface actor) { + remove(actor); + } + public void compareIdentity1(MyInterface actor) { if (actor == last) { System.out.println("last"); diff --git a/docs/checks/ImplicitStringPlaceholder.md.html b/docs/checks/ImplicitStringPlaceholder.md.html index a4a8ba69..6f38a644 100644 --- a/docs/checks/ImplicitStringPlaceholder.md.html +++ b/docs/checks/ImplicitStringPlaceholder.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/ImpliedQuantity.md.html b/docs/checks/ImpliedQuantity.md.html index edc7c0ab..92e842e9 100644 --- a/docs/checks/ImpliedQuantity.md.html +++ b/docs/checks/ImpliedQuantity.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ImpliedTouchscreenHardware.md.html b/docs/checks/ImpliedTouchscreenHardware.md.html index b02a226e..462cd0fd 100644 --- a/docs/checks/ImpliedTouchscreenHardware.md.html +++ b/docs/checks/ImpliedTouchscreenHardware.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidTvDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidTvDetectorTest.java) -Copyright Year -: 2015 Apps require the `android.hardware.touchscreen` feature by default. If you want your app to be available on TV, you must also explicitly diff --git a/docs/checks/InOrMmUsage.md.html b/docs/checks/InOrMmUsage.md.html index dee1b420..f2e28ef0 100644 --- a/docs/checks/InOrMmUsage.md.html +++ b/docs/checks/InOrMmUsage.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/IncludeLayoutParam.md.html b/docs/checks/IncludeLayoutParam.md.html index 713f4bc6..216cbbcd 100644 --- a/docs/checks/IncludeLayoutParam.md.html +++ b/docs/checks/IncludeLayoutParam.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/InclusiveNaming.md.html b/docs/checks/InclusiveNaming.md.html index 6143f604..5a1edd6a 100644 --- a/docs/checks/InclusiveNaming.md.html +++ b/docs/checks/InclusiveNaming.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Resource files Editing diff --git a/docs/checks/IncompatibleMediaBrowserServiceCompatVersion.md.html b/docs/checks/IncompatibleMediaBrowserServiceCompatVersion.md.html index 11c39ad3..f9731305 100644 --- a/docs/checks/IncompatibleMediaBrowserServiceCompatVersion.md.html +++ b/docs/checks/IncompatibleMediaBrowserServiceCompatVersion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MediaBrowserServiceCompatVersionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MediaBrowserServiceCompatVersionDetectorTest.kt) -Copyright Year -: 2016 `MediaBrowserServiceCompat` from version 23.2.0 to 23.4.0 of the Support v4 Library used private APIs and will not be compatible with future diff --git a/docs/checks/InconsistentArrays.md.html b/docs/checks/InconsistentArrays.md.html index bd390069..f6af0927 100644 --- a/docs/checks/InconsistentArrays.md.html +++ b/docs/checks/InconsistentArrays.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/InconsistentLayout.md.html b/docs/checks/InconsistentLayout.md.html index 3e1aa8ba..750ea37e 100644 --- a/docs/checks/InconsistentLayout.md.html +++ b/docs/checks/InconsistentLayout.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/IncorrectChainMarginsUsage.md.html b/docs/checks/IncorrectChainMarginsUsage.md.html index 4ca6cc26..67268d17 100644 --- a/docs/checks/IncorrectChainMarginsUsage.md.html +++ b/docs/checks/IncorrectChainMarginsUsage.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.constraintlayout:constraintlayout-compose](androidx_constraintlayout_constraintlayout-compose.md.html) - +Since +: 1.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/IncorrectMatchParentUsage.md.html b/docs/checks/IncorrectMatchParentUsage.md.html index 07c8309f..ba6d3ec9 100644 --- a/docs/checks/IncorrectMatchParentUsage.md.html +++ b/docs/checks/IncorrectMatchParentUsage.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.constraintlayout:constraintlayout-compose](androidx_constraintlayout_constraintlayout-compose.md.html) - +Since +: 1.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/IncorrectReferencesDeclaration.md.html b/docs/checks/IncorrectReferencesDeclaration.md.html index 667b073c..f3bf4da0 100644 --- a/docs/checks/IncorrectReferencesDeclaration.md.html +++ b/docs/checks/IncorrectReferencesDeclaration.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.constraintlayout:constraintlayout-compose](androidx_constraintlayout_constraintlayout-compose.md.html) - +Since +: 1.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/InefficientWeight.md.html b/docs/checks/InefficientWeight.md.html index 9810bbf7..2cbc8364 100644 --- a/docs/checks/InefficientWeight.md.html +++ b/docs/checks/InefficientWeight.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/InflateParams.md.html b/docs/checks/InflateParams.md.html index ad9a514b..37eb24ce 100644 --- a/docs/checks/InflateParams.md.html +++ b/docs/checks/InflateParams.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/InflationInItemDecoration.md.html b/docs/checks/InflationInItemDecoration.md.html index 61da7f55..44ef4163 100644 --- a/docs/checks/InflationInItemDecoration.md.html +++ b/docs/checks/InflationInItemDecoration.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.8.1 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/InjectInJava.md.html b/docs/checks/InjectInJava.md.html index 6180fa19..d37a8c10 100644 --- a/docs/checks/InjectInJava.md.html +++ b/docs/checks/InjectInJava.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/InlinedApi.md.html b/docs/checks/InlinedApi.md.html index dd3dfd71..16ea1fc9 100644 --- a/docs/checks/InlinedApi.md.html +++ b/docs/checks/InlinedApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/InnerclassSeparator.md.html b/docs/checks/InnerclassSeparator.md.html index 6fe4a404..d08f1dcf 100644 --- a/docs/checks/InnerclassSeparator.md.html +++ b/docs/checks/InnerclassSeparator.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files and resource files Editing diff --git a/docs/checks/InsecureBaseConfiguration.md.html b/docs/checks/InsecureBaseConfiguration.md.html index df29b97e..d1c84664 100644 --- a/docs/checks/InsecureBaseConfiguration.md.html +++ b/docs/checks/InsecureBaseConfiguration.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NetworkSecurityConfigDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NetworkSecurityConfigDetectorTest.java) -Copyright Year -: 2016 Permitting cleartext traffic could allow eavesdroppers to intercept data sent by your app, which impacts the privacy of your users. Consider only diff --git a/docs/checks/InsecureDnsSdkLevel.md.html b/docs/checks/InsecureDnsSdkLevel.md.html index 3e90d890..0ed54b40 100644 --- a/docs/checks/InsecureDnsSdkLevel.md.html +++ b/docs/checks/InsecureDnsSdkLevel.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Manifest files Editing diff --git a/docs/checks/InsecurePermissionProtectionLevel.md.html b/docs/checks/InsecurePermissionProtectionLevel.md.html index 6ae6aa7c..29147a02 100644 --- a/docs/checks/InsecurePermissionProtectionLevel.md.html +++ b/docs/checks/InsecurePermissionProtectionLevel.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Manifest files Editing diff --git a/docs/checks/InsecureStickyBroadcastsMethod.md.html b/docs/checks/InsecureStickyBroadcastsMethod.md.html index ace487fa..6f5ce93f 100644 --- a/docs/checks/InsecureStickyBroadcastsMethod.md.html +++ b/docs/checks/InsecureStickyBroadcastsMethod.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.2 Affects : Kotlin and Java files Editing diff --git a/docs/checks/InsecureStickyBroadcastsPermission.md.html b/docs/checks/InsecureStickyBroadcastsPermission.md.html index 743b7699..398ed902 100644 --- a/docs/checks/InsecureStickyBroadcastsPermission.md.html +++ b/docs/checks/InsecureStickyBroadcastsPermission.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.2 Affects : Manifest files Editing diff --git a/docs/checks/InstantApps.md.html b/docs/checks/InstantApps.md.html index 2782a866..8169a2d7 100644 --- a/docs/checks/InstantApps.md.html +++ b/docs/checks/InstantApps.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files and manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InstantAppDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InstantAppDetectorTest.java) -Copyright Year -: 2017 This issue flags code that will not work correctly in Instant Apps. diff --git a/docs/checks/Instantiatable.md.html b/docs/checks/Instantiatable.md.html index 496f840f..ac5600db 100644 --- a/docs/checks/Instantiatable.md.html +++ b/docs/checks/Instantiatable.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files and resource files Editing diff --git a/docs/checks/IntentFilterExportedReceiver.md.html b/docs/checks/IntentFilterExportedReceiver.md.html index 0058cfd5..ddf206e6 100644 --- a/docs/checks/IntentFilterExportedReceiver.md.html +++ b/docs/checks/IntentFilterExportedReceiver.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.2.0 (May 2022) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ExportedFlagDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ExportedFlagDetectorTest.kt) -Copyright Year -: 2020 Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an diff --git a/docs/checks/IntentFilterUniqueDataAttributes.md.html b/docs/checks/IntentFilterUniqueDataAttributes.md.html index 72718c44..59c66a4e 100644 --- a/docs/checks/IntentFilterUniqueDataAttributes.md.html +++ b/docs/checks/IntentFilterUniqueDataAttributes.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppLinksValidDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksValidDetectorTest.kt) -Copyright Year -: 2017 `` `` tags should only declare a single unique attribute (i.e. scheme OR host, but not both). This better matches the diff --git a/docs/checks/IntentReset.md.html b/docs/checks/IntentReset.md.html index f3eba37e..d2b67469 100644 --- a/docs/checks/IntentReset.md.html +++ b/docs/checks/IntentReset.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IntentDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IntentDetectorTest.kt) -Copyright Year -: 2018 Intent provides the following APIs: `setData(Uri)` and `setType(String)`. Unfortunately, setting one clears the other. If you diff --git a/docs/checks/IntentWithNullActionLaunch.md.html b/docs/checks/IntentWithNullActionLaunch.md.html index 9ac3fa90..4ee39ff7 100644 --- a/docs/checks/IntentWithNullActionLaunch.md.html +++ b/docs/checks/IntentWithNullActionLaunch.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files and manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IntentWillNullActionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IntentWillNullActionDetectorTest.kt) -Copyright Year -: 2023 Intents that have no action and do not specify a component are a potential security risk, and using them will result in a crash in an diff --git a/docs/checks/InternalAgpApiUsage.md.html b/docs/checks/InternalAgpApiUsage.md.html index 99595e7a..c24b5035 100644 --- a/docs/checks/InternalAgpApiUsage.md.html +++ b/docs/checks/InternalAgpApiUsage.md.html @@ -21,12 +21,13 @@ Feedback : https://issuetracker.google.com/issues/new?component=1147525 Min -: Lint 8.0 and 8.1 +: Lint 8.7+ Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) - +Since +: 1.0.0-alpha02 Affects : Kotlin and Java files Editing @@ -78,17 +79,17 @@ ``` // build.gradle.kts -implementation("androidx.lint:lint-gradle:1.0.0-alpha02") +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") // build.gradle -implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lint.gradle) # libs.versions.toml [versions] -lint-gradle = "1.0.0-alpha02" +lint-gradle = "1.0.0-alpha03" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -100,7 +101,7 @@ } ``` -1.0.0-alpha02 is the version this documentation was generated from; +1.0.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). diff --git a/docs/checks/InternalGradleApiUsage.md.html b/docs/checks/InternalGradleApiUsage.md.html index cdb6b440..4e986f16 100644 --- a/docs/checks/InternalGradleApiUsage.md.html +++ b/docs/checks/InternalGradleApiUsage.md.html @@ -21,12 +21,13 @@ Feedback : https://issuetracker.google.com/issues/new?component=1147525 Min -: Lint 8.0 and 8.1 +: Lint 8.7+ Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) - +Since +: 1.0.0-alpha02 Affects : Kotlin and Java files Editing @@ -87,17 +88,17 @@ ``` // build.gradle.kts -implementation("androidx.lint:lint-gradle:1.0.0-alpha02") +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") // build.gradle -implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lint.gradle) # libs.versions.toml [versions] -lint-gradle = "1.0.0-alpha02" +lint-gradle = "1.0.0-alpha03" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -109,7 +110,7 @@ } ``` -1.0.0-alpha02 is the version this documentation was generated from; +1.0.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). diff --git a/docs/checks/InternalInsetResource.md.html b/docs/checks/InternalInsetResource.md.html index c6a4b0a4..f877a998 100644 --- a/docs/checks/InternalInsetResource.md.html +++ b/docs/checks/InternalInsetResource.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InternalInsetResourceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InternalInsetResourceDetectorTest.kt) -Copyright Year -: 2022 The internal inset dimension resources are not a supported way to retrieve the relevant insets for your application. The insets are diff --git a/docs/checks/InvalidAccessibility.md.html b/docs/checks/InvalidAccessibility.md.html index 3988bc5c..5713a093 100644 --- a/docs/checks/InvalidAccessibility.md.html +++ b/docs/checks/InvalidAccessibility.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/InvalidAnalyticsName.md.html b/docs/checks/InvalidAnalyticsName.md.html index 2908b626..e074271b 100644 --- a/docs/checks/InvalidAnalyticsName.md.html +++ b/docs/checks/InvalidAnalyticsName.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/FirebaseAnalyticsDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/FirebaseAnalyticsDetectorTest.java) -Copyright Year -: 2016 Event names and parameters must follow the naming conventions defined in the`FirebaseAnalytics#logEvent()` documentation. diff --git a/docs/checks/InvalidColorHexValue.md.html b/docs/checks/InvalidColorHexValue.md.html index 67126b0c..1c3be1dd 100644 --- a/docs/checks/InvalidColorHexValue.md.html +++ b/docs/checks/InvalidColorHexValue.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.ui:ui-graphics-android](androidx_compose_ui_ui-graphics-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -93,17 +94,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.8.0-alpha06" +ui-graphics-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -115,11 +116,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-graphics-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-graphics-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-graphics-android](androidx_compose_ui_ui-graphics-android.md.html). diff --git a/docs/checks/InvalidFragmentVersionForActivityResult.md.html b/docs/checks/InvalidFragmentVersionForActivityResult.md.html index df8a35f1..2773d802 100644 --- a/docs/checks/InvalidFragmentVersionForActivityResult.md.html +++ b/docs/checks/InvalidFragmentVersionForActivityResult.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.activity:activity](androidx_activity_activity.md.html) - +Since +: 1.2.0 Affects : Gradle build files and Kotlin and Java files Editing @@ -93,17 +94,17 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity:1.10.0-beta01") +implementation("androidx.activity:activity:1.10.0-rc01") // build.gradle -implementation 'androidx.activity:activity:1.10.0-beta01' +implementation 'androidx.activity:activity:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity) # libs.versions.toml [versions] -activity = "1.10.0-beta01" +activity = "1.10.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -115,7 +116,7 @@ } ``` -1.10.0-beta01 is the version this documentation was generated from; +1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity](androidx_activity_activity.md.html). diff --git a/docs/checks/InvalidId.md.html b/docs/checks/InvalidId.md.html index 230fb563..c580250e 100644 --- a/docs/checks/InvalidId.md.html +++ b/docs/checks/InvalidId.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/InvalidImeActionId.md.html b/docs/checks/InvalidImeActionId.md.html index 46adfa7e..b02a34c3 100644 --- a/docs/checks/InvalidImeActionId.md.html +++ b/docs/checks/InvalidImeActionId.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InvalidImeActionIdDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InvalidImeActionIdDetectorTest.kt) -Copyright Year -: 2017 `android:imeActionId` should not be a resource ID such as `@+id/resName`. It must be an integer constant, or an integer resource diff --git a/docs/checks/InvalidImport.md.html b/docs/checks/InvalidImport.md.html index 3d2aa560..6dba29fb 100644 --- a/docs/checks/InvalidImport.md.html +++ b/docs/checks/InvalidImport.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/InvalidLanguageTagDelimiter.md.html b/docs/checks/InvalidLanguageTagDelimiter.md.html index 3f360d30..f3131a8e 100644 --- a/docs/checks/InvalidLanguageTagDelimiter.md.html +++ b/docs/checks/InvalidLanguageTagDelimiter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.ui:ui-text-android](androidx_compose_ui_ui-text-android.md.html) - +Since +: 1.7.0 Affects : Kotlin and Java files and test sources Editing @@ -83,17 +84,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-text-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-text-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-text-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-text-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.text.android) # libs.versions.toml [versions] -ui-text-android = "1.8.0-alpha06" +ui-text-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -105,11 +106,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-text-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-text-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-text-android](androidx_compose_ui_ui-text-android.md.html). diff --git a/docs/checks/InvalidNavigation.md.html b/docs/checks/InvalidNavigation.md.html index e0b4c6a9..d8c8b0eb 100644 --- a/docs/checks/InvalidNavigation.md.html +++ b/docs/checks/InvalidNavigation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/StartDestinationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/StartDestinationDetectorTest.kt) -Copyright Year -: 2018 All `` elements must have a start destination specified, and it must be a direct child of that ``. diff --git a/docs/checks/InvalidPackage.md.html b/docs/checks/InvalidPackage.md.html index 410fb782..c915b530 100644 --- a/docs/checks/InvalidPackage.md.html +++ b/docs/checks/InvalidPackage.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Library bytecode Editing diff --git a/docs/checks/InvalidPeriodicWorkRequestInterval.md.html b/docs/checks/InvalidPeriodicWorkRequestInterval.md.html index f39acdcf..15909e1d 100644 --- a/docs/checks/InvalidPeriodicWorkRequestInterval.md.html +++ b/docs/checks/InvalidPeriodicWorkRequestInterval.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.3.4 Affects : Kotlin and Java files Editing diff --git a/docs/checks/InvalidPermission.md.html b/docs/checks/InvalidPermission.md.html index 3a4c51ed..1e43e41c 100644 --- a/docs/checks/InvalidPermission.md.html +++ b/docs/checks/InvalidPermission.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ManifestPermissionAttributeDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ManifestPermissionAttributeDetectorTest.kt) -Copyright Year -: 2016 Not all elements support the permission attribute. If a permission is set on an invalid element, it is a no-op and ignored. Ensure that this diff --git a/docs/checks/InvalidResourceFolder.md.html b/docs/checks/InvalidResourceFolder.md.html index 50782662..b793fdea 100644 --- a/docs/checks/InvalidResourceFolder.md.html +++ b/docs/checks/InvalidResourceFolder.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Resource folders Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LocaleFolderDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LocaleFolderDetectorTest.kt) -Copyright Year -: 2014 This lint check looks for a folder name that is not a valid resource folder name; these will be ignored and not packaged by the Android diff --git a/docs/checks/InvalidSetHasFixedSize.md.html b/docs/checks/InvalidSetHasFixedSize.md.html index 3e8cbbf5..901ca94e 100644 --- a/docs/checks/InvalidSetHasFixedSize.md.html +++ b/docs/checks/InvalidSetHasFixedSize.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.recyclerview:recyclerview](androidx_recyclerview_recyclerview.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/InvalidSingleLineComment.md.html b/docs/checks/InvalidSingleLineComment.md.html index 26d31812..93ff5d78 100644 --- a/docs/checks/InvalidSingleLineComment.md.html +++ b/docs/checks/InvalidSingleLineComment.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Gradle build files and Kotlin and Java files Editing diff --git a/docs/checks/InvalidString.md.html b/docs/checks/InvalidString.md.html index 918a26d2..2cb78097 100644 --- a/docs/checks/InvalidString.md.html +++ b/docs/checks/InvalidString.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/InvalidUseOfOnBackPressed.md.html b/docs/checks/InvalidUseOfOnBackPressed.md.html index db69de73..4625da27 100644 --- a/docs/checks/InvalidUseOfOnBackPressed.md.html +++ b/docs/checks/InvalidUseOfOnBackPressed.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.activity:activity](androidx_activity_activity.md.html) - +Since +: 1.9.0 Affects : Kotlin and Java files Editing @@ -99,17 +100,17 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity:1.10.0-beta01") +implementation("androidx.activity:activity:1.10.0-rc01") // build.gradle -implementation 'androidx.activity:activity:1.10.0-beta01' +implementation 'androidx.activity:activity:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity) # libs.versions.toml [versions] -activity = "1.10.0-beta01" +activity = "1.10.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -121,7 +122,7 @@ } ``` -1.10.0-beta01 is the version this documentation was generated from; +1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity](androidx_activity_activity.md.html). diff --git a/docs/checks/InvalidUsesTagAttribute.md.html b/docs/checks/InvalidUsesTagAttribute.md.html index cd277cee..980b4c90 100644 --- a/docs/checks/InvalidUsesTagAttribute.md.html +++ b/docs/checks/InvalidUsesTagAttribute.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidAutoDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidAutoDetectorTest.java) -Copyright Year -: 2015 The element in `` should contain a valid value for the `name` attribute. Valid values are `media`, `notification`, or diff --git a/docs/checks/InvalidVectorPath.md.html b/docs/checks/InvalidVectorPath.md.html index 989d2bb3..b53e5dd9 100644 --- a/docs/checks/InvalidVectorPath.md.html +++ b/docs/checks/InvalidVectorPath.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/VectorPathDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/VectorPathDetectorTest.java) -Copyright Year -: 2017 This check ensures that vector paths are valid. For example, it makes sure that the numbers are not using scientific notation (such as 1.0e3) diff --git a/docs/checks/InvalidWakeLockTag.md.html b/docs/checks/InvalidWakeLockTag.md.html index d14f0bd8..05e1af87 100644 --- a/docs/checks/InvalidWakeLockTag.md.html +++ b/docs/checks/InvalidWakeLockTag.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PowerManagerDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PowerManagerDetectorTest.java) -Copyright Year -: 2018 Wake Lock tags must follow the naming conventions defined in the`PowerManager` documentation. diff --git a/docs/checks/InvalidWearFeatureAttribute.md.html b/docs/checks/InvalidWearFeatureAttribute.md.html index 59f1aaab..95f52432 100644 --- a/docs/checks/InvalidWearFeatureAttribute.md.html +++ b/docs/checks/InvalidWearFeatureAttribute.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearStandaloneAppDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearStandaloneAppDetectorTest.java) -Copyright Year -: 2016 For the `android.hardware.type.watch` uses-feature, android:required="false" is disallowed. A single APK for Wear and diff --git a/docs/checks/JCenter.md.html b/docs/checks/JCenter.md.html index d99cc779..baca7f0c 100644 --- a/docs/checks/JCenter.md.html +++ b/docs/checks/JCenter.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.8.0 Affects : Gradle build files Editing diff --git a/docs/checks/JavaOnlyDetector.md.html b/docs/checks/JavaOnlyDetector.md.html index 971cd110..93aae845 100644 --- a/docs/checks/JavaOnlyDetector.md.html +++ b/docs/checks/JavaOnlyDetector.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/JavaPluginLanguageLevel.md.html b/docs/checks/JavaPluginLanguageLevel.md.html index 40b11da5..012018cd 100644 --- a/docs/checks/JavaPluginLanguageLevel.md.html +++ b/docs/checks/JavaPluginLanguageLevel.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.2.0 (May 2021) Affects : Gradle build files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 In modules using plugins deriving from the Gradle `java` plugin (e.g. `java-library` or `application`), the java source and target diff --git a/docs/checks/JavascriptInterface.md.html b/docs/checks/JavascriptInterface.md.html index 65792784..3d91dde9 100644 --- a/docs/checks/JavascriptInterface.md.html +++ b/docs/checks/JavascriptInterface.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/JcenterRepositoryObsolete.md.html b/docs/checks/JcenterRepositoryObsolete.md.html index be9b297e..935e431f 100644 --- a/docs/checks/JcenterRepositoryObsolete.md.html +++ b/docs/checks/JcenterRepositoryObsolete.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.2.0 (May 2021) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 The JCenter Maven repository is no longer accepting submissions of Maven artifacts since 31st March 2021. Ensure that the project is configured diff --git a/docs/checks/JobSchedulerService.md.html b/docs/checks/JobSchedulerService.md.html index 5537afa3..35425e71 100644 --- a/docs/checks/JobSchedulerService.md.html +++ b/docs/checks/JobSchedulerService.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/JobSchedulerDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/JobSchedulerDetectorTest.java) -Copyright Year -: 2017 This check looks for various common mistakes in using the JobScheduler API: the service class must extend `JobService`, the service must be diff --git a/docs/checks/JvmStaticProvidesInObjectDetector.md.html b/docs/checks/JvmStaticProvidesInObjectDetector.md.html index 2d50e248..a146d1aa 100644 --- a/docs/checks/JvmStaticProvidesInObjectDetector.md.html +++ b/docs/checks/JvmStaticProvidesInObjectDetector.md.html @@ -28,7 +28,8 @@ : Lint 7.1 Artifact : [com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html) - +Since +: 2.40.2 Affects : Kotlin and Java files and test sources Editing @@ -193,17 +194,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.52") +implementation("com.google.dagger:dagger-lint:2.54") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.52' +implementation 'com.google.dagger:dagger-lint:2.54' // build.gradle.kts with version catalogs: implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.52" +dagger-lint = "2.54" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -215,7 +216,7 @@ } ``` -2.52 is the version this documentation was generated from; +2.54 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/KaptUsageInsteadOfKsp.md.html b/docs/checks/KaptUsageInsteadOfKsp.md.html index b9838a64..c02c93b7 100644 --- a/docs/checks/KaptUsageInsteadOfKsp.md.html +++ b/docs/checks/KaptUsageInsteadOfKsp.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 KSP is a more efficient replacement for kapt. For libraries that support both, KSP should be used to improve build times. diff --git a/docs/checks/KeyboardInaccessibleWidget.md.html b/docs/checks/KeyboardInaccessibleWidget.md.html index 2ab8b040..44c261a8 100644 --- a/docs/checks/KeyboardInaccessibleWidget.md.html +++ b/docs/checks/KeyboardInaccessibleWidget.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/KeyboardNavigationDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/KeyboardNavigationDetectorTest.java) -Copyright Year -: 2017 A widget that is declared to be clickable but not declared to be focusable is not accessible via the keyboard. Please add the `focusable` diff --git a/docs/checks/KnownPermissionError.md.html b/docs/checks/KnownPermissionError.md.html index 16510b2e..2229de66 100644 --- a/docs/checks/KnownPermissionError.md.html +++ b/docs/checks/KnownPermissionError.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PermissionErrorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PermissionErrorDetectorTest.kt) -Copyright Year -: 2022 This check looks for values specified in component permissions that are known errors, such as `android:permission="true"`. diff --git a/docs/checks/KotlinNullnessAnnotation.md.html b/docs/checks/KotlinNullnessAnnotation.md.html index 665950d0..28f3ec24 100644 --- a/docs/checks/KotlinNullnessAnnotation.md.html +++ b/docs/checks/KotlinNullnessAnnotation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/KotlinNullnessAnnotationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/KotlinNullnessAnnotationDetectorTest.kt) -Copyright Year -: 2022 In Kotlin, nullness is part of the type system; `s: String` is **never** null and `s: String?` is sometimes null, whether or not you add in diff --git a/docs/checks/KotlinPairNotCreated.md.html b/docs/checks/KotlinPairNotCreated.md.html index 30493099..c46de02e 100644 --- a/docs/checks/KotlinPairNotCreated.md.html +++ b/docs/checks/KotlinPairNotCreated.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/KotlinPropertyAccess.md.html b/docs/checks/KotlinPropertyAccess.md.html index f3e79711..1ca4f3be 100644 --- a/docs/checks/KotlinPropertyAccess.md.html +++ b/docs/checks/KotlinPropertyAccess.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InteroperabilityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InteroperabilityDetectorTest.kt) -Copyright Year -: 2018 For a method to be represented as a property in Kotlin, strict “bean”-style prefixing must be used. diff --git a/docs/checks/KotlinRequireNotNullUseMessage.md.html b/docs/checks/KotlinRequireNotNullUseMessage.md.html index 8e8d58fd..76853c8f 100644 --- a/docs/checks/KotlinRequireNotNullUseMessage.md.html +++ b/docs/checks/KotlinRequireNotNullUseMessage.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-kotlin](com_vanniktech_lint-rules-kotlin.md.html) - +Since +: 0.22.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/KotlincFE10.md.html b/docs/checks/KotlincFE10.md.html index d21775f1..da349885 100644 --- a/docs/checks/KotlincFE10.md.html +++ b/docs/checks/KotlincFE10.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/KotlincFE10Detector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/KotlincFE10DetectorTest.kt) -Copyright Year -: 2022 K2, the new version of Kotlin compiler, which encompasses the new frontend, is coming. Try to avoid using internal APIs from the old diff --git a/docs/checks/KtxExtensionAvailable.md.html b/docs/checks/KtxExtensionAvailable.md.html index f83100e1..69dafb31 100644 --- a/docs/checks/KtxExtensionAvailable.md.html +++ b/docs/checks/KtxExtensionAvailable.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Android KTX extensions augment some libraries with support for modern Kotlin language features like extension functions, extension properties, diff --git a/docs/checks/LabelFor.md.html b/docs/checks/LabelFor.md.html index 91f205b5..8b4805d7 100644 --- a/docs/checks/LabelFor.md.html +++ b/docs/checks/LabelFor.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/LambdaLast.md.html b/docs/checks/LambdaLast.md.html index 8d900634..debda033 100644 --- a/docs/checks/LambdaLast.md.html +++ b/docs/checks/LambdaLast.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InteroperabilityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InteroperabilityDetectorTest.kt) -Copyright Year -: 2018 To improve calling this code from Kotlin, parameter types eligible for SAM conversion should be last. diff --git a/docs/checks/LaunchActivityFromNotification.md.html b/docs/checks/LaunchActivityFromNotification.md.html index 9e8dc1e9..e92b19f3 100644 --- a/docs/checks/LaunchActivityFromNotification.md.html +++ b/docs/checks/LaunchActivityFromNotification.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.3.0-alpha01 (December 2020) Affects : Kotlin and Java files Editing @@ -32,8 +34,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NotificationTrampolineDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NotificationTrampolineDetectorTest.kt) -Copyright Year -: 2020 Notifications should only launch activities -- that's what users expect (and has been the guidance in both the Android SDK and Material Design diff --git a/docs/checks/LaunchDuringComposition.md.html b/docs/checks/LaunchDuringComposition.md.html index 89c64ab2..003095cf 100644 --- a/docs/checks/LaunchDuringComposition.md.html +++ b/docs/checks/LaunchDuringComposition.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.activity:activity-compose](androidx_activity_activity-compose.md.html) - +Since +: 1.4.0 Affects : Kotlin and Java files and test sources Editing @@ -147,17 +148,17 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity-compose:1.10.0-beta01") +implementation("androidx.activity:activity-compose:1.10.0-rc01") // build.gradle -implementation 'androidx.activity:activity-compose:1.10.0-beta01' +implementation 'androidx.activity:activity-compose:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] -activity-compose = "1.10.0-beta01" +activity-compose = "1.10.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -169,7 +170,7 @@ } ``` -1.10.0-beta01 is the version this documentation was generated from; +1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity-compose](androidx_activity_activity-compose.md.html). diff --git a/docs/checks/LayoutFileNameMatchesClass.md.html b/docs/checks/LayoutFileNameMatchesClass.md.html index 3e45907d..126aee32 100644 --- a/docs/checks/LayoutFileNameMatchesClass.md.html +++ b/docs/checks/LayoutFileNameMatchesClass.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.7.1 Affects : Kotlin and Java files Editing diff --git a/docs/checks/LeanbackUsesWifi.md.html b/docs/checks/LeanbackUsesWifi.md.html index a8d963ee..2aaa12c1 100644 --- a/docs/checks/LeanbackUsesWifi.md.html +++ b/docs/checks/LeanbackUsesWifi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LeanbackWifiUsageDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LeanbackWifiUsageDetectorTest.kt) -Copyright Year -: 2021 WiFi is not required for Android TV and many devices connect to the internet via alternative methods e.g. Ethernet. diff --git a/docs/checks/LibraryCustomView.md.html b/docs/checks/LibraryCustomView.md.html index 63b35083..81b95611 100644 --- a/docs/checks/LibraryCustomView.md.html +++ b/docs/checks/LibraryCustomView.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files and resource files Editing diff --git a/docs/checks/LifecycleAnnotationProcessorWithJava8.md.html b/docs/checks/LifecycleAnnotationProcessorWithJava8.md.html index ef3598e9..a5d87098 100644 --- a/docs/checks/LifecycleAnnotationProcessorWithJava8.md.html +++ b/docs/checks/LifecycleAnnotationProcessorWithJava8.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 For faster incremental build, switch to the Lifecycle Java 8 API with these steps: diff --git a/docs/checks/LintDocExample.md.html b/docs/checks/LintDocExample.md.html index 87eb83e6..cecc7dd8 100644 --- a/docs/checks/LintDocExample.md.html +++ b/docs/checks/LintDocExample.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Kotlin and Java files and test sources Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 Lint's tool for generating documentation for each issue has special support for including a code example which shows how to trigger the diff --git a/docs/checks/LintImplBadUrl.md.html b/docs/checks/LintImplBadUrl.md.html index 5d0bcfd8..e932a807 100644 --- a/docs/checks/LintImplBadUrl.md.html +++ b/docs/checks/LintImplBadUrl.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 More Info URLs let a link check point to additional resources about the problem and solution it's checking for. diff --git a/docs/checks/LintImplDollarEscapes.md.html b/docs/checks/LintImplDollarEscapes.md.html index 1d7e31ac..6e98b7e2 100644 --- a/docs/checks/LintImplDollarEscapes.md.html +++ b/docs/checks/LintImplDollarEscapes.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files and test sources Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 Instead of putting `${"$"}` in your Kotlin raw string literals you can simply use $. This looks like the dollar sign but is instead the full diff --git a/docs/checks/LintImplIdFormat.md.html b/docs/checks/LintImplIdFormat.md.html index 857efff9..6fb3b93a 100644 --- a/docs/checks/LintImplIdFormat.md.html +++ b/docs/checks/LintImplIdFormat.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 This check looks at lint issue id registrations and makes sure the id follows the expected conventions: capitalized, camel case, no spaces, diff --git a/docs/checks/LintImplPsiEquals.md.html b/docs/checks/LintImplPsiEquals.md.html index cde432ee..f1a8f5a1 100644 --- a/docs/checks/LintImplPsiEquals.md.html +++ b/docs/checks/LintImplPsiEquals.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 You should never compare two PSI elements for equality with `equals`; use `PsiEquivalenceUtil.areElementsEquivalent(PsiElement, PsiElement)` diff --git a/docs/checks/LintImplTextFormat.md.html b/docs/checks/LintImplTextFormat.md.html index 6a1f48d0..0de1cdd4 100644 --- a/docs/checks/LintImplTextFormat.md.html +++ b/docs/checks/LintImplTextFormat.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 Lint supports various markdown like formatting directives in all of its strings (issue explanations, reported error messages, etc). diff --git a/docs/checks/LintImplTrimIndent.md.html b/docs/checks/LintImplTrimIndent.md.html index 7cdbd75a..7da57ea1 100644 --- a/docs/checks/LintImplTrimIndent.md.html +++ b/docs/checks/LintImplTrimIndent.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files and test sources Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 Lint implicitly calls `.trimIndent()` (lazily, at the last minute) in a number of places: diff --git a/docs/checks/LintImplUnexpectedDomain.md.html b/docs/checks/LintImplUnexpectedDomain.md.html index 61922746..f9747f7c 100644 --- a/docs/checks/LintImplUnexpectedDomain.md.html +++ b/docs/checks/LintImplUnexpectedDomain.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 This checks flags URLs to domains that have not been explicitly allowed for use as a documentation source. diff --git a/docs/checks/LintImplUseKotlin.md.html b/docs/checks/LintImplUseKotlin.md.html index 781dcca4..07d0cdbd 100644 --- a/docs/checks/LintImplUseKotlin.md.html +++ b/docs/checks/LintImplUseKotlin.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 New lint checks should be written in Kotlin; the Lint API is written in Kotlin and uses a number of language features that makes it beneficial diff --git a/docs/checks/LintImplUseUast.md.html b/docs/checks/LintImplUseUast.md.html index 5015db5f..47478f5c 100644 --- a/docs/checks/LintImplUseUast.md.html +++ b/docs/checks/LintImplUseUast.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LintDetectorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LintDetectorDetectorTest.kt) -Copyright Year -: 2020 UAST is a library that sits on top of PSI, and in many cases PSI is part of the UAST API; for example, UResolvable#resolve returns a PsiElement. diff --git a/docs/checks/LocalSuppress.md.html b/docs/checks/LocalSuppress.md.html index 13929dcf..d89c4b50 100644 --- a/docs/checks/LocalSuppress.md.html +++ b/docs/checks/LocalSuppress.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/LocaleFolder.md.html b/docs/checks/LocaleFolder.md.html index eb9bcfdb..9d42a4b7 100644 --- a/docs/checks/LocaleFolder.md.html +++ b/docs/checks/LocaleFolder.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource folders Editing diff --git a/docs/checks/LockedOrientationActivity.md.html b/docs/checks/LockedOrientationActivity.md.html index 1f316258..81111c30 100644 --- a/docs/checks/LockedOrientationActivity.md.html +++ b/docs/checks/LockedOrientationActivity.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChromeOsDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChromeOsDetectorTest.java) -Copyright Year -: 2016 The `` element should not be locked to any orientation so that users can take advantage of the multi-window environments and larger diff --git a/docs/checks/LogConditional.md.html b/docs/checks/LogConditional.md.html index c0c0ab36..1a09b6e7 100644 --- a/docs/checks/LogConditional.md.html +++ b/docs/checks/LogConditional.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LogDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LogDetectorTest.kt) -Copyright Year -: 2015 The `BuildConfig` class provides a constant, `DEBUG`, which indicates whether the code is being built in release mode or in debug mode. In diff --git a/docs/checks/LogNotTimber.md.html b/docs/checks/LogNotTimber.md.html index 003f72d2..3251ab3d 100644 --- a/docs/checks/LogNotTimber.md.html +++ b/docs/checks/LogNotTimber.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/LogTagMismatch.md.html b/docs/checks/LogTagMismatch.md.html index b3cc6789..333d0829 100644 --- a/docs/checks/LogTagMismatch.md.html +++ b/docs/checks/LogTagMismatch.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LogDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LogDetectorTest.kt) -Copyright Year -: 2015 When guarding a `Log.v(tag, ...)` call with `Log.isLoggable(tag)`, the tag passed to both calls should be the same. Similarly, the level passed diff --git a/docs/checks/LongLogTag.md.html b/docs/checks/LongLogTag.md.html index 8fc17d13..cef6216d 100644 --- a/docs/checks/LongLogTag.md.html +++ b/docs/checks/LongLogTag.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LogDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LogDetectorTest.kt) -Copyright Year -: 2015 Log tags are only allowed to be at most 23 tag characters long. diff --git a/docs/checks/MainScopeUsage.md.html b/docs/checks/MainScopeUsage.md.html index 52906e7a..a83f64f1 100644 --- a/docs/checks/MainScopeUsage.md.html +++ b/docs/checks/MainScopeUsage.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/MangledCRLF.md.html b/docs/checks/MangledCRLF.md.html index 33c0dd75..af19feeb 100644 --- a/docs/checks/MangledCRLF.md.html +++ b/docs/checks/MangledCRLF.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ManifestOrder.md.html b/docs/checks/ManifestOrder.md.html index e8fdd836..6198da3e 100644 --- a/docs/checks/ManifestOrder.md.html +++ b/docs/checks/ManifestOrder.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/ManifestResource.md.html b/docs/checks/ManifestResource.md.html index 8dbc14a8..511ecd33 100644 --- a/docs/checks/ManifestResource.md.html +++ b/docs/checks/ManifestResource.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ManifestResourceDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ManifestResourceDetectorTest.kt) -Copyright Year -: 2015 Elements in the manifest can reference resources, but those resources cannot vary across configurations (except as a special case, by version, diff --git a/docs/checks/ManifestTypo.md.html b/docs/checks/ManifestTypo.md.html index d981181d..ccb7e5b8 100644 --- a/docs/checks/ManifestTypo.md.html +++ b/docs/checks/ManifestTypo.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/MatchingMenuId.md.html b/docs/checks/MatchingMenuId.md.html index 41813c5d..b8297f04 100644 --- a/docs/checks/MatchingMenuId.md.html +++ b/docs/checks/MatchingMenuId.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/MatchingViewId.md.html b/docs/checks/MatchingViewId.md.html index c1867c89..dc177b76 100644 --- a/docs/checks/MatchingViewId.md.html +++ b/docs/checks/MatchingViewId.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/MenuTitle.md.html b/docs/checks/MenuTitle.md.html index 8fb2f65d..6a3d8458 100644 --- a/docs/checks/MenuTitle.md.html +++ b/docs/checks/MenuTitle.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/MergeMarker.md.html b/docs/checks/MergeMarker.md.html index 7ff7b091..1191ad0b 100644 --- a/docs/checks/MergeMarker.md.html +++ b/docs/checks/MergeMarker.md.html @@ -18,14 +18,14 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Editing : This check can *not* run live in the IDE editor Implementation : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MergeMarkerDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MergeMarkerDetectorTest.kt) -Copyright Year -: 2016 Many version control systems leave unmerged files with markers such as <<< in the source code. This check looks for these markers, which are diff --git a/docs/checks/MergeRootFrame.md.html b/docs/checks/MergeRootFrame.md.html index 9995afc0..a06459ec 100644 --- a/docs/checks/MergeRootFrame.md.html +++ b/docs/checks/MergeRootFrame.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/MinSdkTooLow.md.html b/docs/checks/MinSdkTooLow.md.html index e1525974..2de3737a 100644 --- a/docs/checks/MinSdkTooLow.md.html +++ b/docs/checks/MinSdkTooLow.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 The value of the `minSdkVersion` property is too low and can be incremented without noticeably reducing the number of supported diff --git a/docs/checks/MipmapIcons.md.html b/docs/checks/MipmapIcons.md.html index 248092fa..3fdbb0e3 100644 --- a/docs/checks/MipmapIcons.md.html +++ b/docs/checks/MipmapIcons.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ManifestDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ManifestDetectorTest.kt) -Copyright Year -: 2011 Launcher icons should be provided in the `mipmap` resource directory. This is the same as the `drawable` resource directory, except resources diff --git a/docs/checks/MissingApplicationIcon.md.html b/docs/checks/MissingApplicationIcon.md.html index aa303c86..4dafc5a5 100644 --- a/docs/checks/MissingApplicationIcon.md.html +++ b/docs/checks/MissingApplicationIcon.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/MissingAutoVerifyAttribute.md.html b/docs/checks/MissingAutoVerifyAttribute.md.html index 21d04985..c9a8a9e3 100644 --- a/docs/checks/MissingAutoVerifyAttribute.md.html +++ b/docs/checks/MissingAutoVerifyAttribute.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Manifest files Editing diff --git a/docs/checks/MissingBackupPin.md.html b/docs/checks/MissingBackupPin.md.html index 23e6a76f..72316bef 100644 --- a/docs/checks/MissingBackupPin.md.html +++ b/docs/checks/MissingBackupPin.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NetworkSecurityConfigDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NetworkSecurityConfigDetectorTest.java) -Copyright Year -: 2016 It is highly recommended to declare a backup `` element. Not having a second pin defined can cause connection failures when the particular diff --git a/docs/checks/MissingClass.md.html b/docs/checks/MissingClass.md.html index 08e8664c..d8c2f4f4 100644 --- a/docs/checks/MissingClass.md.html +++ b/docs/checks/MissingClass.md.html @@ -6,8 +6,6 @@ Id : `MissingClass` -Previously -: MissingRegistered Summary : Missing registered class Severity @@ -20,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.0.0 (May 2020) Affects : Manifest files and resource files Editing @@ -30,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MissingClassDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MissingClassDetectorTest.kt) -Copyright Year -: 2012 If a class is referenced in the manifest or in a layout file, it must also exist in the project (or in one of the libraries included by the diff --git a/docs/checks/MissingColorAlphaChannel.md.html b/docs/checks/MissingColorAlphaChannel.md.html index f28f9f57..cf83811b 100644 --- a/docs/checks/MissingColorAlphaChannel.md.html +++ b/docs/checks/MissingColorAlphaChannel.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.ui:ui-graphics-android](androidx_compose_ui_ui-graphics-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -109,17 +110,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.8.0-alpha06" +ui-graphics-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -131,11 +132,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-graphics-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-graphics-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-graphics-android](androidx_compose_ui_ui-graphics-android.md.html). diff --git a/docs/checks/MissingConstraints.md.html b/docs/checks/MissingConstraints.md.html index eaeb1ff9..8b2eccb1 100644 --- a/docs/checks/MissingConstraints.md.html +++ b/docs/checks/MissingConstraints.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ConstraintLayoutDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ConstraintLayoutDetectorTest.kt) -Copyright Year -: 2018 The layout editor allows you to place widgets anywhere on the canvas, and it records the current position with designtime attributes (such as diff --git a/docs/checks/MissingDefaultResource.md.html b/docs/checks/MissingDefaultResource.md.html index ad3e1f2a..46d686f9 100644 --- a/docs/checks/MissingDefaultResource.md.html +++ b/docs/checks/MissingDefaultResource.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Binary resource files, resource files and resource folders Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TranslationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TranslationDetectorTest.kt) -Copyright Year -: 2018 If a resource is only defined in folders with qualifiers like `-land` or `-en`, and there is no default declaration in the base folder (`layout` diff --git a/docs/checks/MissingFirebaseInstanceTokenRefresh.md.html b/docs/checks/MissingFirebaseInstanceTokenRefresh.md.html index 05d5e917..396960c0 100644 --- a/docs/checks/MissingFirebaseInstanceTokenRefresh.md.html +++ b/docs/checks/MissingFirebaseInstanceTokenRefresh.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/FirebaseMessagingDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/FirebaseMessagingDetectorTest.java) -Copyright Year -: 2016 Apps that use Firebase Cloud Messaging should implement the `FirebaseMessagingService#onNewToken()` callback in order to observe diff --git a/docs/checks/MissingId.md.html b/docs/checks/MissingId.md.html index e4f0359c..7a060370 100644 --- a/docs/checks/MissingId.md.html +++ b/docs/checks/MissingId.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/MissingInflatedId.md.html b/docs/checks/MissingInflatedId.md.html index ac2d80e5..f19ee7a4 100644 --- a/docs/checks/MissingInflatedId.md.html +++ b/docs/checks/MissingInflatedId.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MissingInflatedIdDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MissingInflatedIdDetectorTest.kt) -Copyright Year -: 2022 Checks calls to layout inflation and makes sure that the referenced ids are found in the corresponding layout (or at least one of them, if the diff --git a/docs/checks/MissingIntentFilterForMediaSearch.md.html b/docs/checks/MissingIntentFilterForMediaSearch.md.html index 81b6eba1..ced8da8b 100644 --- a/docs/checks/MissingIntentFilterForMediaSearch.md.html +++ b/docs/checks/MissingIntentFilterForMediaSearch.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidAutoDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidAutoDetectorTest.java) -Copyright Year -: 2015 To support voice searches on Android Auto, you should also register an `intent-filter` for the action diff --git a/docs/checks/MissingKeepAnnotation-2.md.html b/docs/checks/MissingKeepAnnotation-2.md.html index eb7b78c7..3d4ead5d 100644 --- a/docs/checks/MissingKeepAnnotation-2.md.html +++ b/docs/checks/MissingKeepAnnotation-2.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html) - +Since +: 2.8.3 Affects : Kotlin and Java files Editing @@ -45,8 +46,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep (this issue) -* [MissingKeepAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha03](MissingKeepAnnotation.md.html) -* [MissingKeepAnnotation from androidx.navigation:navigation-common:2.9.0-alpha03](MissingKeepAnnotation-3.md.html) +* [MissingKeepAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha04](MissingKeepAnnotation.md.html) +* [MissingKeepAnnotation from androidx.navigation:navigation-common:2.9.0-alpha04](MissingKeepAnnotation-3.md.html) (##) Including @@ -57,17 +58,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.9.0-alpha03") +implementation("androidx.navigation:navigation-runtime:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.9.0-alpha03" +navigation-runtime = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -79,7 +80,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/MissingKeepAnnotation-3.md.html b/docs/checks/MissingKeepAnnotation-3.md.html index 7de6f94b..b2b10209 100644 --- a/docs/checks/MissingKeepAnnotation-3.md.html +++ b/docs/checks/MissingKeepAnnotation-3.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html) - +Since +: 2.8.3 Affects : Kotlin and Java files Editing @@ -45,8 +46,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep (this issue) -* [MissingKeepAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha03](MissingKeepAnnotation.md.html) -* [MissingKeepAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha03](MissingKeepAnnotation-2.md.html) +* [MissingKeepAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha04](MissingKeepAnnotation.md.html) +* [MissingKeepAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha04](MissingKeepAnnotation-2.md.html) (##) Including @@ -57,17 +58,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.9.0-alpha03") +implementation("androidx.navigation:navigation-common:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-common:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-common:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.9.0-alpha03" +navigation-common = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -79,7 +80,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html). diff --git a/docs/checks/MissingKeepAnnotation.md.html b/docs/checks/MissingKeepAnnotation.md.html index c765faa2..ba0d4e5a 100644 --- a/docs/checks/MissingKeepAnnotation.md.html +++ b/docs/checks/MissingKeepAnnotation.md.html @@ -21,10 +21,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) - +Since +: 2.8.3 Affects : Kotlin and Java files Editing @@ -43,8 +44,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep (this issue) -* [MissingKeepAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha03](MissingKeepAnnotation-2.md.html) -* [MissingKeepAnnotation from androidx.navigation:navigation-common:2.9.0-alpha03](MissingKeepAnnotation-3.md.html) +* [MissingKeepAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha04](MissingKeepAnnotation-2.md.html) +* [MissingKeepAnnotation from androidx.navigation:navigation-common:2.9.0-alpha04](MissingKeepAnnotation-3.md.html) (##) Including @@ -55,17 +56,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.9.0-alpha03") +implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.9.0-alpha03" +navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -77,7 +78,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/MissingLeanbackLauncher.md.html b/docs/checks/MissingLeanbackLauncher.md.html index a031061c..1cea1404 100644 --- a/docs/checks/MissingLeanbackLauncher.md.html +++ b/docs/checks/MissingLeanbackLauncher.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidTvDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidTvDetectorTest.java) -Copyright Year -: 2015 An application intended to run on TV devices must declare a launcher activity for TV in its manifest using a diff --git a/docs/checks/MissingLeanbackSupport.md.html b/docs/checks/MissingLeanbackSupport.md.html index 5fa3b0db..2421c690 100644 --- a/docs/checks/MissingLeanbackSupport.md.html +++ b/docs/checks/MissingLeanbackSupport.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidTvDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidTvDetectorTest.java) -Copyright Year -: 2015 The manifest should declare the use of the Leanback user interface required by Android TV. diff --git a/docs/checks/MissingMediaBrowserServiceIntentFilter.md.html b/docs/checks/MissingMediaBrowserServiceIntentFilter.md.html index 9578cb15..825b40b6 100644 --- a/docs/checks/MissingMediaBrowserServiceIntentFilter.md.html +++ b/docs/checks/MissingMediaBrowserServiceIntentFilter.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidAutoDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidAutoDetectorTest.java) -Copyright Year -: 2015 An Automotive Media App requires an exported service that extends `android.service.media.MediaBrowserService` with an `intent-filter` for diff --git a/docs/checks/MissingOnPlayFromSearch.md.html b/docs/checks/MissingOnPlayFromSearch.md.html index 7edbce6e..8e05eb7e 100644 --- a/docs/checks/MissingOnPlayFromSearch.md.html +++ b/docs/checks/MissingOnPlayFromSearch.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidAutoDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidAutoDetectorTest.java) -Copyright Year -: 2015 To support voice searches on Android Auto, in addition to adding an `intent-filter` for the action `onPlayFromSearch`, you also need to diff --git a/docs/checks/MissingPermission.md.html b/docs/checks/MissingPermission.md.html index ac90a2e0..80c2fe9f 100644 --- a/docs/checks/MissingPermission.md.html +++ b/docs/checks/MissingPermission.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PermissionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PermissionDetectorTest.kt) -Copyright Year -: 2017 This check scans through your code and libraries and looks at the APIs being used, and checks this against the set of permissions required to diff --git a/docs/checks/MissingPrefix.md.html b/docs/checks/MissingPrefix.md.html index 90710299..d0a009e1 100644 --- a/docs/checks/MissingPrefix.md.html +++ b/docs/checks/MissingPrefix.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Manifest files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MissingPrefixDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MissingPrefixDetectorTest.kt) -Copyright Year -: 2011 Most Android views have attributes in the Android namespace. When referencing these attributes you **must** include the namespace prefix, diff --git a/docs/checks/MissingQuantity.md.html b/docs/checks/MissingQuantity.md.html index af965a88..cc763f3c 100644 --- a/docs/checks/MissingQuantity.md.html +++ b/docs/checks/MissingQuantity.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/MissingResourceImportAlias.md.html b/docs/checks/MissingResourceImportAlias.md.html index df9e34b9..29f9693f 100644 --- a/docs/checks/MissingResourceImportAlias.md.html +++ b/docs/checks/MissingResourceImportAlias.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MissingResourcesProperties.md.html b/docs/checks/MissingResourcesProperties.md.html new file mode 100644 index 00000000..d0740b42 --- /dev/null +++ b/docs/checks/MissingResourcesProperties.md.html @@ -0,0 +1,108 @@ + +(#) Missing resources.properties file + +!!! WARNING: Missing resources.properties file + This is a warning. + +Id +: `MissingResourcesProperties` +Summary +: Missing resources.properties file +Severity +: Warning +Category +: Correctness +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.9.0-alpha06 (December 2024) +Affects +: Gradle build files +Editing +: This check runs on the fly in the IDE editor +See +: https://developer.android.com/r/studio-ui/build/automatic-per-app-languages +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MissingResourcesPropertiesDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MissingResourcesPropertiesDetectorTest.kt) + +When `generateLocaleConfig` is turned on, the default locale must be +specified in a resources.properties file. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +build.gradle:5:Warning: Missing resources.properties file +[MissingResourcesProperties] + generateLocaleConfig true + -------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`build.gradle`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~groovy linenumbers +apply plugin: 'com.android.application' + +android { + androidResources { + generateLocaleConfig true + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MissingResourcesPropertiesDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection MissingResourcesProperties + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="MissingResourcesProperties" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'MissingResourcesProperties' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore MissingResourcesProperties ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/MissingScrollbars.md.html b/docs/checks/MissingScrollbars.md.html index 0d847653..e8811395 100644 --- a/docs/checks/MissingScrollbars.md.html +++ b/docs/checks/MissingScrollbars.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/MissingSerializableAnnotation-2.md.html b/docs/checks/MissingSerializableAnnotation-2.md.html index 98d9f332..3c5cf66c 100644 --- a/docs/checks/MissingSerializableAnnotation-2.md.html +++ b/docs/checks/MissingSerializableAnnotation-2.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html) - +Since +: 2.8.3 Affects : Kotlin and Java files Editing @@ -46,8 +47,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable (this issue) -* [MissingSerializableAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha03](MissingSerializableAnnotation.md.html) -* [MissingSerializableAnnotation from androidx.navigation:navigation-common:2.9.0-alpha03](MissingSerializableAnnotation-3.md.html) +* [MissingSerializableAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha04](MissingSerializableAnnotation.md.html) +* [MissingSerializableAnnotation from androidx.navigation:navigation-common:2.9.0-alpha04](MissingSerializableAnnotation-3.md.html) (##) Including @@ -58,17 +59,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.9.0-alpha03") +implementation("androidx.navigation:navigation-runtime:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.9.0-alpha03" +navigation-runtime = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -80,7 +81,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/MissingSerializableAnnotation-3.md.html b/docs/checks/MissingSerializableAnnotation-3.md.html index 53266a92..2795af37 100644 --- a/docs/checks/MissingSerializableAnnotation-3.md.html +++ b/docs/checks/MissingSerializableAnnotation-3.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html) - +Since +: 2.8.3 Affects : Kotlin and Java files Editing @@ -46,8 +47,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable (this issue) -* [MissingSerializableAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha03](MissingSerializableAnnotation.md.html) -* [MissingSerializableAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha03](MissingSerializableAnnotation-2.md.html) +* [MissingSerializableAnnotation from androidx.navigation:navigation-compose:2.9.0-alpha04](MissingSerializableAnnotation.md.html) +* [MissingSerializableAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha04](MissingSerializableAnnotation-2.md.html) (##) Including @@ -58,17 +59,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.9.0-alpha03") +implementation("androidx.navigation:navigation-common:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-common:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-common:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.9.0-alpha03" +navigation-common = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -80,7 +81,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html). diff --git a/docs/checks/MissingSerializableAnnotation.md.html b/docs/checks/MissingSerializableAnnotation.md.html index 3c9b902e..8bd73628 100644 --- a/docs/checks/MissingSerializableAnnotation.md.html +++ b/docs/checks/MissingSerializableAnnotation.md.html @@ -21,10 +21,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) - +Since +: 2.8.3 Affects : Kotlin and Java files Editing @@ -44,8 +45,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable (this issue) -* [MissingSerializableAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha03](MissingSerializableAnnotation-2.md.html) -* [MissingSerializableAnnotation from androidx.navigation:navigation-common:2.9.0-alpha03](MissingSerializableAnnotation-3.md.html) +* [MissingSerializableAnnotation from androidx.navigation:navigation-runtime:2.9.0-alpha04](MissingSerializableAnnotation-2.md.html) +* [MissingSerializableAnnotation from androidx.navigation:navigation-common:2.9.0-alpha04](MissingSerializableAnnotation-3.md.html) (##) Including @@ -56,17 +57,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.9.0-alpha03") +implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.9.0-alpha03" +navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -78,7 +79,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/MissingSuperCall.md.html b/docs/checks/MissingSuperCall.md.html index 84179452..73b36641 100644 --- a/docs/checks/MissingSuperCall.md.html +++ b/docs/checks/MissingSuperCall.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/MissingTranslation.md.html b/docs/checks/MissingTranslation.md.html index dba02c7c..92a533f9 100644 --- a/docs/checks/MissingTranslation.md.html +++ b/docs/checks/MissingTranslation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Binary resource files, resource files and resource folders Editing diff --git a/docs/checks/MissingTvBanner.md.html b/docs/checks/MissingTvBanner.md.html index ca713cb7..cd667135 100644 --- a/docs/checks/MissingTvBanner.md.html +++ b/docs/checks/MissingTvBanner.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidTvDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidTvDetectorTest.java) -Copyright Year -: 2015 A TV application must provide a home screen banner for each localization if it includes a Leanback launcher intent filter. The banner is the app diff --git a/docs/checks/MissingVersion.md.html b/docs/checks/MissingVersion.md.html index 7b5830d1..f9e04dea 100644 --- a/docs/checks/MissingVersion.md.html +++ b/docs/checks/MissingVersion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/MissingXmlHeader.md.html b/docs/checks/MissingXmlHeader.md.html index f7e31060..136c9832 100644 --- a/docs/checks/MissingXmlHeader.md.html +++ b/docs/checks/MissingXmlHeader.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/MockLocation.md.html b/docs/checks/MockLocation.md.html index 5f2a2b98..4e075a68 100644 --- a/docs/checks/MockLocation.md.html +++ b/docs/checks/MockLocation.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/ModifierFactoryExtensionFunction.md.html b/docs/checks/ModifierFactoryExtensionFunction.md.html index abbeae0a..1fd29fc2 100644 --- a/docs/checks/ModifierFactoryExtensionFunction.md.html +++ b/docs/checks/ModifierFactoryExtensionFunction.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -110,17 +111,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -132,11 +133,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierFactoryReturnType.md.html b/docs/checks/ModifierFactoryReturnType.md.html index 99e24d79..90944fe8 100644 --- a/docs/checks/ModifierFactoryReturnType.md.html +++ b/docs/checks/ModifierFactoryReturnType.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -84,17 +85,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -106,11 +107,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierFactoryUnreferencedReceiver.md.html b/docs/checks/ModifierFactoryUnreferencedReceiver.md.html index 8cb5e2bd..83bbe662 100644 --- a/docs/checks/ModifierFactoryUnreferencedReceiver.md.html +++ b/docs/checks/ModifierFactoryUnreferencedReceiver.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -91,17 +92,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -113,11 +114,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierNodeInspectableProperties.md.html b/docs/checks/ModifierNodeInspectableProperties.md.html index 443d1bca..c52457ba 100644 --- a/docs/checks/ModifierNodeInspectableProperties.md.html +++ b/docs/checks/ModifierNodeInspectableProperties.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files Editing @@ -91,17 +92,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -113,11 +114,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModifierParameter.md.html b/docs/checks/ModifierParameter.md.html index d1894f8b..332ead0a 100644 --- a/docs/checks/ModifierParameter.md.html +++ b/docs/checks/ModifierParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -93,17 +94,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -115,11 +116,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ModuleCompanionObjects.md.html b/docs/checks/ModuleCompanionObjects.md.html index eef61ab5..aa2c1cd5 100644 --- a/docs/checks/ModuleCompanionObjects.md.html +++ b/docs/checks/ModuleCompanionObjects.md.html @@ -28,7 +28,8 @@ : Lint 7.1 Artifact : [com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html) - +Since +: 2.40.2 Affects : Kotlin and Java files and test sources Editing @@ -193,17 +194,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.52") +implementation("com.google.dagger:dagger-lint:2.54") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.52' +implementation 'com.google.dagger:dagger-lint:2.54' // build.gradle.kts with version catalogs: implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.52" +dagger-lint = "2.54" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -215,7 +216,7 @@ } ``` -2.52 is the version this documentation was generated from; +2.54 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html b/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html index e2fd9b1c..098b1507 100644 --- a/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html +++ b/docs/checks/ModuleCompanionObjectsNotInModuleParent.md.html @@ -28,7 +28,8 @@ : Lint 7.1 Artifact : [com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html) - +Since +: 2.40.2 Affects : Kotlin and Java files and test sources Editing @@ -56,17 +57,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.52") +implementation("com.google.dagger:dagger-lint:2.54") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.52' +implementation 'com.google.dagger:dagger-lint:2.54' // build.gradle.kts with version catalogs: implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.52" +dagger-lint = "2.54" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -78,7 +79,7 @@ } ``` -2.52 is the version this documentation was generated from; +2.54 is the version this documentation was generated from; there may be newer versions available. [Additional details about com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html). diff --git a/docs/checks/MonochromeLauncherIcon.md.html b/docs/checks/MonochromeLauncherIcon.md.html index 255fc17a..2cff9ecd 100644 --- a/docs/checks/MonochromeLauncherIcon.md.html +++ b/docs/checks/MonochromeLauncherIcon.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MonochromeLauncherIconDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MonochromeLauncherIconDetectorTest.kt) -Copyright Year -: 2022 If `android:roundIcon` and `android:icon` are both in your manifest, you must either remove the reference to `android:roundIcon` if it is not diff --git a/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html b/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html index 7ce189f2..7c0da63b 100644 --- a/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html +++ b/docs/checks/MoshiUsageAdaptedByRequiresAdapter.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html b/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html index 9aa303ac..e78e66f5 100644 --- a/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html +++ b/docs/checks/MoshiUsageAdaptedByRequiresKeep.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageArray.md.html b/docs/checks/MoshiUsageArray.md.html index 7516b8f3..be1efe30 100644 --- a/docs/checks/MoshiUsageArray.md.html +++ b/docs/checks/MoshiUsageArray.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageBlankGenerator.md.html b/docs/checks/MoshiUsageBlankGenerator.md.html index bd582000..5ac6d7dc 100644 --- a/docs/checks/MoshiUsageBlankGenerator.md.html +++ b/docs/checks/MoshiUsageBlankGenerator.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageBlankJsonName.md.html b/docs/checks/MoshiUsageBlankJsonName.md.html index d88392be..028b1290 100644 --- a/docs/checks/MoshiUsageBlankJsonName.md.html +++ b/docs/checks/MoshiUsageBlankJsonName.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageBlankTypeLabel.md.html b/docs/checks/MoshiUsageBlankTypeLabel.md.html index aa810edb..ee2a7186 100644 --- a/docs/checks/MoshiUsageBlankTypeLabel.md.html +++ b/docs/checks/MoshiUsageBlankTypeLabel.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageClassVisibility.md.html b/docs/checks/MoshiUsageClassVisibility.md.html index 38bffe3c..d1d96c0f 100644 --- a/docs/checks/MoshiUsageClassVisibility.md.html +++ b/docs/checks/MoshiUsageClassVisibility.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageDoubleClassAnnotation.md.html b/docs/checks/MoshiUsageDoubleClassAnnotation.md.html index 64576ece..1960186c 100644 --- a/docs/checks/MoshiUsageDoubleClassAnnotation.md.html +++ b/docs/checks/MoshiUsageDoubleClassAnnotation.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageDoubleTypeLabel.md.html b/docs/checks/MoshiUsageDoubleTypeLabel.md.html index 9b599bd2..fd27311b 100644 --- a/docs/checks/MoshiUsageDoubleTypeLabel.md.html +++ b/docs/checks/MoshiUsageDoubleTypeLabel.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageDuplicateJsonName.md.html b/docs/checks/MoshiUsageDuplicateJsonName.md.html index 4a76ee75..4cee48dc 100644 --- a/docs/checks/MoshiUsageDuplicateJsonName.md.html +++ b/docs/checks/MoshiUsageDuplicateJsonName.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html b/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html index 166e77cf..8bd1e908 100644 --- a/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html +++ b/docs/checks/MoshiUsageEnumAnnotatedUnknown.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageEnumCasing.md.html b/docs/checks/MoshiUsageEnumCasing.md.html index 7cd0ef6f..2069d5f8 100644 --- a/docs/checks/MoshiUsageEnumCasing.md.html +++ b/docs/checks/MoshiUsageEnumCasing.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html b/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html index 2891e0a6..01541498 100644 --- a/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html +++ b/docs/checks/MoshiUsageEnumJsonClassGenerated.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageEnumMissingJsonClass.md.html b/docs/checks/MoshiUsageEnumMissingJsonClass.md.html index f836d837..643b391a 100644 --- a/docs/checks/MoshiUsageEnumMissingJsonClass.md.html +++ b/docs/checks/MoshiUsageEnumMissingJsonClass.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageEnumMissingUnknown.md.html b/docs/checks/MoshiUsageEnumMissingUnknown.md.html index bf531c7e..292b1e67 100644 --- a/docs/checks/MoshiUsageEnumMissingUnknown.md.html +++ b/docs/checks/MoshiUsageEnumMissingUnknown.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html b/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html index 611fd0c3..bcb1d3a2 100644 --- a/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html +++ b/docs/checks/MoshiUsageEnumPropertyCouldBeMoshi.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html b/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html index 68a48437..8e272b0a 100644 --- a/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html +++ b/docs/checks/MoshiUsageEnumPropertyDefaultUnknown.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html b/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html index 18a007d3..dcd956a3 100644 --- a/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html +++ b/docs/checks/MoshiUsageGenerateAdapterShouldBeTrue.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageGenericSealedSubtype.md.html b/docs/checks/MoshiUsageGenericSealedSubtype.md.html index b523c5d8..c678fbde 100644 --- a/docs/checks/MoshiUsageGenericSealedSubtype.md.html +++ b/docs/checks/MoshiUsageGenericSealedSubtype.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageInappropriateTypeLabel.md.html b/docs/checks/MoshiUsageInappropriateTypeLabel.md.html index 3be673e7..e0d75530 100644 --- a/docs/checks/MoshiUsageInappropriateTypeLabel.md.html +++ b/docs/checks/MoshiUsageInappropriateTypeLabel.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageMissingPrimary.md.html b/docs/checks/MoshiUsageMissingPrimary.md.html index 0044373f..e7a10434 100644 --- a/docs/checks/MoshiUsageMissingPrimary.md.html +++ b/docs/checks/MoshiUsageMissingPrimary.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageMissingTypeLabel.md.html b/docs/checks/MoshiUsageMissingTypeLabel.md.html index 0438504d..ec9b87e9 100644 --- a/docs/checks/MoshiUsageMissingTypeLabel.md.html +++ b/docs/checks/MoshiUsageMissingTypeLabel.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageMutableCollections.md.html b/docs/checks/MoshiUsageMutableCollections.md.html index 1a27cc2c..d8481b77 100644 --- a/docs/checks/MoshiUsageMutableCollections.md.html +++ b/docs/checks/MoshiUsageMutableCollections.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageNonMoshiClassCollection.md.html b/docs/checks/MoshiUsageNonMoshiClassCollection.md.html index 7caa13bc..ea8f7689 100644 --- a/docs/checks/MoshiUsageNonMoshiClassCollection.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassCollection.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageNonMoshiClassExternal.md.html b/docs/checks/MoshiUsageNonMoshiClassExternal.md.html index fdfd0c9e..41118166 100644 --- a/docs/checks/MoshiUsageNonMoshiClassExternal.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassExternal.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageNonMoshiClassInternal.md.html b/docs/checks/MoshiUsageNonMoshiClassInternal.md.html index 28c916ab..0c94fe65 100644 --- a/docs/checks/MoshiUsageNonMoshiClassInternal.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassInternal.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageNonMoshiClassMap.md.html b/docs/checks/MoshiUsageNonMoshiClassMap.md.html index 5f8aba0a..0269b39b 100644 --- a/docs/checks/MoshiUsageNonMoshiClassMap.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassMap.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html b/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html index 7553f7b9..6c7dee85 100644 --- a/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html +++ b/docs/checks/MoshiUsageNonMoshiClassPlatform.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageObject.md.html b/docs/checks/MoshiUsageObject.md.html index 24105a49..82a5df34 100644 --- a/docs/checks/MoshiUsageObject.md.html +++ b/docs/checks/MoshiUsageObject.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageParamNeedsInit.md.html b/docs/checks/MoshiUsageParamNeedsInit.md.html index da16348a..e41df21a 100644 --- a/docs/checks/MoshiUsageParamNeedsInit.md.html +++ b/docs/checks/MoshiUsageParamNeedsInit.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsagePrivateConstructor.md.html b/docs/checks/MoshiUsagePrivateConstructor.md.html index 2f8faed2..9b3878c4 100644 --- a/docs/checks/MoshiUsagePrivateConstructor.md.html +++ b/docs/checks/MoshiUsagePrivateConstructor.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsagePrivateConstructorProperty.md.html b/docs/checks/MoshiUsagePrivateConstructorProperty.md.html index e2288dd2..2ddad920 100644 --- a/docs/checks/MoshiUsagePrivateConstructorProperty.md.html +++ b/docs/checks/MoshiUsagePrivateConstructorProperty.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageQualifierRetention.md.html b/docs/checks/MoshiUsageQualifierRetention.md.html index 4509c715..88612509 100644 --- a/docs/checks/MoshiUsageQualifierRetention.md.html +++ b/docs/checks/MoshiUsageQualifierRetention.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageQualifierTarget.md.html b/docs/checks/MoshiUsageQualifierTarget.md.html index 340677f7..967f94a8 100644 --- a/docs/checks/MoshiUsageQualifierTarget.md.html +++ b/docs/checks/MoshiUsageQualifierTarget.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageRedundantJsonName.md.html b/docs/checks/MoshiUsageRedundantJsonName.md.html index 7d73e7e7..7a0ae91f 100644 --- a/docs/checks/MoshiUsageRedundantJsonName.md.html +++ b/docs/checks/MoshiUsageRedundantJsonName.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageRedundantSiteTarget.md.html b/docs/checks/MoshiUsageRedundantSiteTarget.md.html index f237473b..14364f06 100644 --- a/docs/checks/MoshiUsageRedundantSiteTarget.md.html +++ b/docs/checks/MoshiUsageRedundantSiteTarget.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageSealedMustBeSealed.md.html b/docs/checks/MoshiUsageSealedMustBeSealed.md.html index 5623df80..221186d9 100644 --- a/docs/checks/MoshiUsageSealedMustBeSealed.md.html +++ b/docs/checks/MoshiUsageSealedMustBeSealed.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageSerializedName.md.html b/docs/checks/MoshiUsageSerializedName.md.html index 68cbabb4..d6312d8c 100644 --- a/docs/checks/MoshiUsageSerializedName.md.html +++ b/docs/checks/MoshiUsageSerializedName.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageSnakeCase.md.html b/docs/checks/MoshiUsageSnakeCase.md.html index ec1b4203..b31f8780 100644 --- a/docs/checks/MoshiUsageSnakeCase.md.html +++ b/docs/checks/MoshiUsageSnakeCase.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageTransientNeedsInit.md.html b/docs/checks/MoshiUsageTransientNeedsInit.md.html index 2dd4befb..881a6e49 100644 --- a/docs/checks/MoshiUsageTransientNeedsInit.md.html +++ b/docs/checks/MoshiUsageTransientNeedsInit.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageUnsupportedType.md.html b/docs/checks/MoshiUsageUnsupportedType.md.html index 36458a02..c7b83392 100644 --- a/docs/checks/MoshiUsageUnsupportedType.md.html +++ b/docs/checks/MoshiUsageUnsupportedType.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageUseData.md.html b/docs/checks/MoshiUsageUseData.md.html index e48cf9f3..a18a895b 100644 --- a/docs/checks/MoshiUsageUseData.md.html +++ b/docs/checks/MoshiUsageUseData.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MoshiUsageVarProperty.md.html b/docs/checks/MoshiUsageVarProperty.md.html index f8c286f3..584731ff 100644 --- a/docs/checks/MoshiUsageVarProperty.md.html +++ b/docs/checks/MoshiUsageVarProperty.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MotionLayoutInvalidSceneFileReference.md.html b/docs/checks/MotionLayoutInvalidSceneFileReference.md.html index f9c335a2..46d9f168 100644 --- a/docs/checks/MotionLayoutInvalidSceneFileReference.md.html +++ b/docs/checks/MotionLayoutInvalidSceneFileReference.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.0.0 (May 2020) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MotionLayoutDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MotionLayoutDetectorTest.kt) -Copyright Year -: 2019 A motion scene file specifies the animations used in a `MotionLayout`. The `layoutDescription` is required to specify a valid motion scene diff --git a/docs/checks/MotionLayoutMissingId.md.html b/docs/checks/MotionLayoutMissingId.md.html index a59c7e44..5af48547 100644 --- a/docs/checks/MotionLayoutMissingId.md.html +++ b/docs/checks/MotionLayoutMissingId.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.2.0 (May 2022) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MotionLayoutIdDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MotionLayoutIdDetectorTest.kt) -Copyright Year -: 2021 Views inside `MotionLayout` require an `android:id`. diff --git a/docs/checks/MotionSceneFileValidationError.md.html b/docs/checks/MotionSceneFileValidationError.md.html index 117d1bd3..edd40473 100644 --- a/docs/checks/MotionSceneFileValidationError.md.html +++ b/docs/checks/MotionSceneFileValidationError.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.0.0 (May 2020) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/MotionSceneDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/MotionSceneDetectorTest.kt) -Copyright Year -: 2019 A motion scene file specifies the animations used in a `MotionLayout`. This check performs various serious correctness checks in a motion scene diff --git a/docs/checks/MultipleAwaitPointerEventScopes.md.html b/docs/checks/MultipleAwaitPointerEventScopes.md.html index d1b8f86f..da5ad4c8 100644 --- a/docs/checks/MultipleAwaitPointerEventScopes.md.html +++ b/docs/checks/MultipleAwaitPointerEventScopes.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -52,17 +53,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -74,11 +75,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/MultipleUsesSdk.md.html b/docs/checks/MultipleUsesSdk.md.html index bbb60521..b3472055 100644 --- a/docs/checks/MultipleUsesSdk.md.html +++ b/docs/checks/MultipleUsesSdk.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/MustBeInModule.md.html b/docs/checks/MustBeInModule.md.html index 81b1bbc8..bb237ee6 100644 --- a/docs/checks/MustBeInModule.md.html +++ b/docs/checks/MustBeInModule.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.1 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MustUseNamedParams.md.html b/docs/checks/MustUseNamedParams.md.html index 7f0abecc..f2be46d8 100644 --- a/docs/checks/MustUseNamedParams.md.html +++ b/docs/checks/MustUseNamedParams.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.7.1 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/MutableCollectionMutableState.md.html b/docs/checks/MutableCollectionMutableState.md.html index c35e6894..afa1b055 100644 --- a/docs/checks/MutableCollectionMutableState.md.html +++ b/docs/checks/MutableCollectionMutableState.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -146,17 +147,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -168,11 +169,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/MutableImplicitPendingIntent.md.html b/docs/checks/MutableImplicitPendingIntent.md.html index 84d2f35b..fa902c5e 100644 --- a/docs/checks/MutableImplicitPendingIntent.md.html +++ b/docs/checks/MutableImplicitPendingIntent.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PendingIntentMutableImplicitDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PendingIntentMutableImplicitDetectorTest.kt) -Copyright Year -: 2023 Apps targeting Android 14 and above are not allowed to create `PendingIntents` with `FLAG_MUTABLE` and an implicit intent within for diff --git a/docs/checks/MutatingSharedPrefs.md.html b/docs/checks/MutatingSharedPrefs.md.html index baef8974..183537f3 100644 --- a/docs/checks/MutatingSharedPrefs.md.html +++ b/docs/checks/MutatingSharedPrefs.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.2.0 (May 2021) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SharedPrefsDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SharedPrefsDetectorTest.kt) -Copyright Year -: 2020 As stated in the docs for `SharedPreferences.getStringSet`, you must not modify the set returned by `getStringSet`: diff --git a/docs/checks/NamespaceTypo.md.html b/docs/checks/NamespaceTypo.md.html index be5e952d..d8c90dda 100644 --- a/docs/checks/NamespaceTypo.md.html +++ b/docs/checks/NamespaceTypo.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files and resource files Editing diff --git a/docs/checks/NamingPattern.md.html b/docs/checks/NamingPattern.md.html index 9200a313..fc0101f0 100644 --- a/docs/checks/NamingPattern.md.html +++ b/docs/checks/NamingPattern.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/NegativeMargin.md.html b/docs/checks/NegativeMargin.md.html index c6f69588..927f1423 100644 --- a/docs/checks/NegativeMargin.md.html +++ b/docs/checks/NegativeMargin.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 0.2.0 (October 2014) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NegativeMarginDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NegativeMarginDetectorTest.kt) -Copyright Year -: 2014 Margin values should be positive. Negative values are generally a sign that you are making assumptions about views surrounding the current one, diff --git a/docs/checks/NestedScrolling.md.html b/docs/checks/NestedScrolling.md.html index 2903524f..b1ae05de 100644 --- a/docs/checks/NestedScrolling.md.html +++ b/docs/checks/NestedScrolling.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/NestedWeights.md.html b/docs/checks/NestedWeights.md.html index 524e1691..78b32772 100644 --- a/docs/checks/NestedWeights.md.html +++ b/docs/checks/NestedWeights.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/NetworkSecurityConfig.md.html b/docs/checks/NetworkSecurityConfig.md.html index dde1e853..3c2d6512 100644 --- a/docs/checks/NetworkSecurityConfig.md.html +++ b/docs/checks/NetworkSecurityConfig.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NetworkSecurityConfigDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NetworkSecurityConfigDetectorTest.java) -Copyright Year -: 2016 Ensures that a `` file, which is pointed to by an `android:networkSecurityConfig` attribute in the manifest file, is diff --git a/docs/checks/NewApi.md.html b/docs/checks/NewApi.md.html index 24b54ccf..ae38be06 100644 --- a/docs/checks/NewApi.md.html +++ b/docs/checks/NewApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/NewerVersionAvailable.md.html b/docs/checks/NewerVersionAvailable.md.html index 11dbc938..be1d0dbf 100644 --- a/docs/checks/NewerVersionAvailable.md.html +++ b/docs/checks/NewerVersionAvailable.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files and TOML files Editing diff --git a/docs/checks/NfcTechWhitespace.md.html b/docs/checks/NfcTechWhitespace.md.html index afbf1359..5702ed70 100644 --- a/docs/checks/NfcTechWhitespace.md.html +++ b/docs/checks/NfcTechWhitespace.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/NioDesugaring.md.html b/docs/checks/NioDesugaring.md.html new file mode 100644 index 00000000..d676a525 --- /dev/null +++ b/docs/checks/NioDesugaring.md.html @@ -0,0 +1,104 @@ + +(#) Unsupported `java.nio` operations + +!!! ERROR: Unsupported `java.nio` operations + This is an error. + +Id +: `NioDesugaring` +Summary +: Unsupported `java.nio` operations +Severity +: Error +Category +: Correctness +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.9.0-alpha05 (December 2024) +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ApiDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ApiDetectorTest.java) + +Core library desugaring handles most of the `java.nio` APIs, but prior +to API level 26, a handful of APIs are not fully supported. + +This is detailed in the documentation at +https://developer.android.com/studio/write/java11-nio-support-table#java-nio-customizations +. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("NioDesugaring") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("NioDesugaring") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection NioDesugaring + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="NioDesugaring" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'NioDesugaring' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore NioDesugaring ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/NoCollectCallFound.md.html b/docs/checks/NoCollectCallFound.md.html index 3c5faaa8..49e82f21 100644 --- a/docs/checks/NoCollectCallFound.md.html +++ b/docs/checks/NoCollectCallFound.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.activity:activity-compose](androidx_activity_activity-compose.md.html) - +Since +: 1.8.0 Affects : Kotlin and Java files and test sources Editing @@ -141,17 +142,17 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity-compose:1.10.0-beta01") +implementation("androidx.activity:activity-compose:1.10.0-rc01") // build.gradle -implementation 'androidx.activity:activity-compose:1.10.0-beta01' +implementation 'androidx.activity:activity-compose:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] -activity-compose = "1.10.0-beta01" +activity-compose = "1.10.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -163,7 +164,7 @@ } ``` -1.10.0-beta01 is the version this documentation was generated from; +1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.activity:activity-compose](androidx_activity_activity-compose.md.html). diff --git a/docs/checks/NoHardKeywords.md.html b/docs/checks/NoHardKeywords.md.html index 286ef547..0568c8f6 100644 --- a/docs/checks/NoHardKeywords.md.html +++ b/docs/checks/NoHardKeywords.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InteroperabilityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InteroperabilityDetectorTest.kt) -Copyright Year -: 2018 Do not use Kotlin’s hard keywords as the name of methods or fields. These require the use of backticks to escape when calling from Kotlin. diff --git a/docs/checks/NoOp.md.html b/docs/checks/NoOp.md.html index 941f5c14..4fd3e77e 100644 --- a/docs/checks/NoOp.md.html +++ b/docs/checks/NoOp.md.html @@ -6,8 +6,6 @@ Id : `NoOp` -Alias -: ResultOfMethodCallIgnored Summary : NoOp Code Note @@ -22,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files Editing @@ -30,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NoOpDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NoOpDetectorTest.kt) -Copyright Year -: 2021 This check looks for code which looks like it's a no-op -- usually leftover expressions from interactive debugging, but in some cases bugs diff --git a/docs/checks/NonConstantResourceId.md.html b/docs/checks/NonConstantResourceId.md.html index e790ffb6..0229b578 100644 --- a/docs/checks/NonConstantResourceId.md.html +++ b/docs/checks/NonConstantResourceId.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NonConstantResourceIdDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NonConstantResourceIdDetectorTest.kt) -Copyright Year -: 2020 Avoid the usage of resource IDs where constant expressions are required. diff --git a/docs/checks/NonResizeableActivity.md.html b/docs/checks/NonResizeableActivity.md.html index e2aab797..fe6c5980 100644 --- a/docs/checks/NonResizeableActivity.md.html +++ b/docs/checks/NonResizeableActivity.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChromeOsDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChromeOsDetectorTest.java) -Copyright Year -: 2016 The `` element should be allowed to be resized to allow users to take advantage of the multi-window environments available on larger diff --git a/docs/checks/NotConstructor.md.html b/docs/checks/NotConstructor.md.html index 02b8f64f..fe1e4178 100644 --- a/docs/checks/NotConstructor.md.html +++ b/docs/checks/NotConstructor.md.html @@ -6,8 +6,6 @@ Id : `NotConstructor` -Alias -: MethodNameSameAsClassName Summary : Not a Constructor Severity @@ -20,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.2.0 (May 2022) Affects : Kotlin and Java files Editing @@ -28,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WrongConstructorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WrongConstructorDetectorTest.kt) -Copyright Year -: 2021 This check catches methods that look like they were intended to be constructors, but aren't. diff --git a/docs/checks/NotInterpolated.md.html b/docs/checks/NotInterpolated.md.html index 9dc4d7a4..9e4ac7bc 100644 --- a/docs/checks/NotInterpolated.md.html +++ b/docs/checks/NotInterpolated.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 To insert the value of a variable, you can use `${variable}` inside a string literal, but **only** if you are using double quotes! diff --git a/docs/checks/NotSibling.md.html b/docs/checks/NotSibling.md.html index 1e99bcf6..ce1a41a2 100644 --- a/docs/checks/NotSibling.md.html +++ b/docs/checks/NotSibling.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/NotificationIconCompatibility.md.html b/docs/checks/NotificationIconCompatibility.md.html index 3df00964..796d6af6 100644 --- a/docs/checks/NotificationIconCompatibility.md.html +++ b/docs/checks/NotificationIconCompatibility.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IconDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IconDetectorTest.java) -Copyright Year -: 2011 Notification icons should define a raster image to support Android versions below 5.0 (API 21). Note that the way Lint decides whether an diff --git a/docs/checks/NotificationId0.md.html b/docs/checks/NotificationId0.md.html index cb539c4f..642a1581 100644 --- a/docs/checks/NotificationId0.md.html +++ b/docs/checks/NotificationId0.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InvalidNotificationIdDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InvalidNotificationIdDetectorTest.kt) -Copyright Year -: 2022 The notification id **cannot** be 0; using 0 here can make the service not run in the foreground. diff --git a/docs/checks/NotificationPermission.md.html b/docs/checks/NotificationPermission.md.html index 502309ba..d5217bc4 100644 --- a/docs/checks/NotificationPermission.md.html +++ b/docs/checks/NotificationPermission.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Kotlin and Java files and library bytecode Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NotificationPermissionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NotificationPermissionDetectorTest.kt) -Copyright Year -: 2022 When targeting Android 13 and higher, posting permissions requires holding the runtime permission `android.permission.POST_NOTIFICATIONS`. diff --git a/docs/checks/NotificationTrampoline.md.html b/docs/checks/NotificationTrampoline.md.html index d0a5c121..bef3c2ee 100644 --- a/docs/checks/NotificationTrampoline.md.html +++ b/docs/checks/NotificationTrampoline.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.3.0-alpha01 (December 2020) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NotificationTrampolineDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NotificationTrampolineDetectorTest.kt) -Copyright Year -: 2020 Activities should not be launched indirectly from a notification via an intermediate `BroadcastReceiver` or `Service`. This can lead to diff --git a/docs/checks/NotifyDataSetChanged.md.html b/docs/checks/NotifyDataSetChanged.md.html index 71002ce5..ee61cbc8 100644 --- a/docs/checks/NotifyDataSetChanged.md.html +++ b/docs/checks/NotifyDataSetChanged.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RecyclerViewDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RecyclerViewDetectorTest.kt) -Copyright Year -: 2015 The `RecyclerView` adapter's `onNotifyDataSetChanged` method does not specify what about the data set has changed, forcing any observers to diff --git a/docs/checks/NullSafeMutableLiveData-2.md.html b/docs/checks/NullSafeMutableLiveData-2.md.html index a16dd824..4aa6ec64 100644 --- a/docs/checks/NullSafeMutableLiveData-2.md.html +++ b/docs/checks/NullSafeMutableLiveData-2.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.lifecycle:lifecycle-livedata-core-ktx](androidx_lifecycle_lifecycle-livedata-core-ktx.md.html) - +Since +: 2.3.0 Affects : Kotlin and Java files Editing @@ -60,7 +61,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * NullSafeMutableLiveData: LiveData value assignment nullability mismatch (this issue) -* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07](NullSafeMutableLiveData.md.html) +* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha08](NullSafeMutableLiveData.md.html) * [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01](NullSafeMutableLiveData-2.md.html) diff --git a/docs/checks/NullSafeMutableLiveData.md.html b/docs/checks/NullSafeMutableLiveData.md.html index f68c923c..373abe49 100644 --- a/docs/checks/NullSafeMutableLiveData.md.html +++ b/docs/checks/NullSafeMutableLiveData.md.html @@ -28,7 +28,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.lifecycle:lifecycle-livedata-core](androidx_lifecycle_lifecycle-livedata-core.md.html) - +Since +: 2.3.0 Affects : Kotlin and Java files Editing @@ -60,7 +61,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * NullSafeMutableLiveData: LiveData value assignment nullability mismatch (this issue) -* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07](NullSafeMutableLiveData.md.html) +* [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha08](NullSafeMutableLiveData.md.html) * [NullSafeMutableLiveData from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01](NullSafeMutableLiveData-2.md.html) @@ -72,17 +73,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.livedata.core) # libs.versions.toml [versions] -lifecycle-livedata-core = "2.9.0-alpha07" +lifecycle-livedata-core = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -94,7 +95,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-livedata-core](androidx_lifecycle_lifecycle-livedata-core.md.html). diff --git a/docs/checks/ObjectAnimatorBinding.md.html b/docs/checks/ObjectAnimatorBinding.md.html index b2c54301..bd67a23c 100644 --- a/docs/checks/ObjectAnimatorBinding.md.html +++ b/docs/checks/ObjectAnimatorBinding.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ObjectAnimatorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ObjectAnimatorDetectorTest.kt) -Copyright Year -: 2016 This check cross references properties referenced by String from `ObjectAnimator` and `PropertyValuesHolder` method calls and ensures diff --git a/docs/checks/ObsoleteLayoutParam.md.html b/docs/checks/ObsoleteLayoutParam.md.html index 8e2b19d9..7e3e37ce 100644 --- a/docs/checks/ObsoleteLayoutParam.md.html +++ b/docs/checks/ObsoleteLayoutParam.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ObsoleteSdkInt.md.html b/docs/checks/ObsoleteSdkInt.md.html index 8c793bf2..48e8e9a2 100644 --- a/docs/checks/ObsoleteSdkInt.md.html +++ b/docs/checks/ObsoleteSdkInt.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ApiDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ApiDetectorTest.java) -Copyright Year -: 2012 This check flags version checks that are not necessary, because the `minSdkVersion` (or surrounding known API level) is already at least as diff --git a/docs/checks/OldTargetApi.md.html b/docs/checks/OldTargetApi.md.html index ac2f4056..d8680dd7 100644 --- a/docs/checks/OldTargetApi.md.html +++ b/docs/checks/OldTargetApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Gradle build files and manifest files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 When your application or sdk runs on a version of Android that is more recent than your `targetSdkVersion` specifies that it has been tested diff --git a/docs/checks/OnClick.md.html b/docs/checks/OnClick.md.html index 13f42c44..0ca1b62f 100644 --- a/docs/checks/OnClick.md.html +++ b/docs/checks/OnClick.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/OpaqueUnitKey.md.html b/docs/checks/OpaqueUnitKey.md.html index 4ea3928c..8eb3661b 100644 --- a/docs/checks/OpaqueUnitKey.md.html +++ b/docs/checks/OpaqueUnitKey.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -98,17 +99,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -120,11 +121,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/OpenForTesting.md.html b/docs/checks/OpenForTesting.md.html index 0250af53..c75c48fa 100644 --- a/docs/checks/OpenForTesting.md.html +++ b/docs/checks/OpenForTesting.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/OpenForTestingDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/OpenForTestingDetectorTest.kt) -Copyright Year -: 2022 Classes or methods annotated with `@OpenForTesting` are only allowed to be subclassed or overridden from unit tests. diff --git a/docs/checks/Orientation.md.html b/docs/checks/Orientation.md.html index 2147a6a2..b96749ce 100644 --- a/docs/checks/Orientation.md.html +++ b/docs/checks/Orientation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/OutdatedLibrary.md.html b/docs/checks/OutdatedLibrary.md.html index 58e0f3c0..ae70c374 100644 --- a/docs/checks/OutdatedLibrary.md.html +++ b/docs/checks/OutdatedLibrary.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Gradle build files and TOML files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Your app is using an outdated version of a library. This may cause violations of Google Play policies (see @@ -111,6 +111,7 @@ compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking + compile 'com.example.issues:deprecated:2.0.0' // Deprecated compile 'log4j:log4j:latest.release' // OK compile 'log4j:log4j' // OK diff --git a/docs/checks/Overdraw.md.html b/docs/checks/Overdraw.md.html index 1ac20e1b..1796d645 100644 --- a/docs/checks/Overdraw.md.html +++ b/docs/checks/Overdraw.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/OverrideAbstract.md.html b/docs/checks/OverrideAbstract.md.html index c4b13a19..1426cdcc 100644 --- a/docs/checks/OverrideAbstract.md.html +++ b/docs/checks/OverrideAbstract.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 0.2.0 (October 2014) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/OverrideConcreteDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/OverrideConcreteDetectorTest.java) -Copyright Year -: 2014 To improve the usability of some APIs, some methods that used to be `abstract` have been made concrete by adding default implementations. diff --git a/docs/checks/PackagedPrivateKey.md.html b/docs/checks/PackagedPrivateKey.md.html index 59f0480e..5acd499b 100644 --- a/docs/checks/PackagedPrivateKey.md.html +++ b/docs/checks/PackagedPrivateKey.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Editing : This check can *not* run live in the IDE editor See diff --git a/docs/checks/ParcelClassLoader.md.html b/docs/checks/ParcelClassLoader.md.html index 9f17dd99..b34b3f15 100644 --- a/docs/checks/ParcelClassLoader.md.html +++ b/docs/checks/ParcelClassLoader.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ReadParcelableDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ReadParcelableDetectorTest.java) -Copyright Year -: 2015 The documentation for `Parcel#readParcelable(ClassLoader)` (and its variations) says that you can pass in `null` to pick up the default diff --git a/docs/checks/ParcelCreator.md.html b/docs/checks/ParcelCreator.md.html index 3154f328..ad38f480 100644 --- a/docs/checks/ParcelCreator.md.html +++ b/docs/checks/ParcelCreator.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/ParcelizeFunctionProperty.md.html b/docs/checks/ParcelizeFunctionProperty.md.html index 06d89742..a5a62245 100644 --- a/docs/checks/ParcelizeFunctionProperty.md.html +++ b/docs/checks/ParcelizeFunctionProperty.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.2.3 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/PendingBindings.md.html b/docs/checks/PendingBindings.md.html index 44fb4fea..8b6eb890 100644 --- a/docs/checks/PendingBindings.md.html +++ b/docs/checks/PendingBindings.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RecyclerViewDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RecyclerViewDetectorTest.kt) -Copyright Year -: 2015 When using a `ViewDataBinding` in a `onBindViewHolder` method, you **must** call `executePendingBindings()` before the method exits; diff --git a/docs/checks/PermissionImpliesUnsupportedChromeOsHardware.md.html b/docs/checks/PermissionImpliesUnsupportedChromeOsHardware.md.html index 576bb2a3..825c7658 100644 --- a/docs/checks/PermissionImpliesUnsupportedChromeOsHardware.md.html +++ b/docs/checks/PermissionImpliesUnsupportedChromeOsHardware.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChromeOsDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChromeOsDetectorTest.java) -Copyright Year -: 2016 The `` element should not require a permission that implies an unsupported large screen hardware feature. Google Play diff --git a/docs/checks/PermissionImpliesUnsupportedHardware.md.html b/docs/checks/PermissionImpliesUnsupportedHardware.md.html index 6fc352fa..4b0fdef1 100644 --- a/docs/checks/PermissionImpliesUnsupportedHardware.md.html +++ b/docs/checks/PermissionImpliesUnsupportedHardware.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidTvDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidTvDetectorTest.java) -Copyright Year -: 2015 The `` element should not require a permission that implies an unsupported TV hardware feature. Google Play assumes that diff --git a/docs/checks/PermissionNamingConvention.md.html b/docs/checks/PermissionNamingConvention.md.html index 72f5419e..40568535 100644 --- a/docs/checks/PermissionNamingConvention.md.html +++ b/docs/checks/PermissionNamingConvention.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PermissionErrorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PermissionErrorDetectorTest.kt) -Copyright Year -: 2022 Permissions should be prefixed with an app's package name, using reverse-domain-style naming. This prefix should be followed by diff --git a/docs/checks/PictureInPictureIssue.md.html b/docs/checks/PictureInPictureIssue.md.html index 376550f6..326c0bf1 100644 --- a/docs/checks/PictureInPictureIssue.md.html +++ b/docs/checks/PictureInPictureIssue.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.6.0 (August 2024) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PictureInPictureDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PictureInPictureDetectorTest.kt) -Copyright Year -: 2023 Starting in Android 12, the recommended approach for enabling picture-in-picture (PiP) has changed. If your app does not use the new diff --git a/docs/checks/PinSetExpiry.md.html b/docs/checks/PinSetExpiry.md.html index ec4ff291..79ba6c06 100644 --- a/docs/checks/PinSetExpiry.md.html +++ b/docs/checks/PinSetExpiry.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NetworkSecurityConfigDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NetworkSecurityConfigDetectorTest.java) -Copyright Year -: 2016 Ensures that the `expiration` attribute of the `` element is valid and has not already expired or is expiring soon. diff --git a/docs/checks/PlaySdkIndexDeprecated.md.html b/docs/checks/PlaySdkIndexDeprecated.md.html new file mode 100644 index 00000000..946c648e --- /dev/null +++ b/docs/checks/PlaySdkIndexDeprecated.md.html @@ -0,0 +1,147 @@ + +(#) Library is marked as deprecated in SDK Index + +!!! ERROR: Library is marked as deprecated in SDK Index + This is an error. + +Id +: `PlaySdkIndexDeprecated` +Summary +: Library is marked as deprecated in SDK Index +Severity +: Error +Category +: Security +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.9.0-alpha05 (December 2024) +Affects +: Gradle build files and TOML files +Editing +: This check runs on the fly in the IDE editor +See +: https://developer.android.com/distribute/sdk-index +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) + +This library has been deprecated, please consider updating to an +alternative SDK before publishing a new release. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +build.gradle:29:Warning: com.example.issues:deprecated has been +deprecated by its developer. Consider updating to an alternative SDK +before publishing a new release. +The developer has recommended these alternatives: + - Alternative 1 (first:alternative) + - second:alternative + [PlaySdkIndexDeprecated] + compile 'com.example.issues:deprecated:2.0.0' // Deprecated + ------------------------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here is the source file referenced above: + +`build.gradle`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~groovy linenumbers +dependencies { + compile 'log4j:log4j:1.2.18' // OK, latest + compile 'log4j:log4j:1.2.17' // OK + compile 'log4j:log4j:1.2.16' // Critical NON_BLOCKING + compile 'log4j:log4j:1.2.15' // Outdated NON_BLOCKING + compile 'log4j:log4j:1.2.14' // Non compliant + compile 'log4j:log4j:1.2.13' // Critical BLOCKING + compile 'log4j:log4j:1.2.12' // OUTDATED BLOCKING + compile 'log4j:log4j:1.2.11' // Ok (not in Index) + compile 'com.example.ads.third.party:example:8.0.0' // OK + compile 'com.example.ads.third.party:example:7.2.2' // OK + compile 'com.example.ads.third.party:example:7.2.1' // OK + compile 'com.example.ads.third.party:example:7.2.0' // Outdated + Critical + Policy (multiple issues), no severity + compile 'com.example.ads.third.party:example:7.1.0' // Policy (Ads), non-blocking + compile 'com.example.ads.third.party:example:7.1.1' // Policy (Device and Network Abuse), blocking + compile 'com.example.ads.third.party:example:7.1.2' // Policy (Deceptive Behavior), no severity + compile 'com.example.ads.third.party:example:7.1.3' // Policy (User Data), non-blocking + compile 'com.example.ads.third.party:example:7.1.4' // Policy (Permissions), blocking + compile 'com.example.ads.third.party:example:7.1.5' // Policy (Mobile Unwanted Software), no-severity + compile 'com.example.ads.third.party:example:7.1.6' // Policy (Malware), non-blocking + compile 'com.example.ads.third.party:example:7.1.7' // Policy (multiple types), non-blocking + compile 'com.example.ads.third.party:example:7.1.8' // Policy (multiple types), blocking + compile 'com.example.ads.third.party:example:7.1.9' // Policy (multiple types), no severity + compile 'com.example.ads.third.party:example:7.1.10' // Vulnerability (UNSAFE_HOSTNAME_VERIFIER, non-blocking) + compile 'com.example.ads.third.party:example:7.1.11' // Vulnerability multiple (UNSAFE_SSL_ERROR_HANDLER, ZIP_PATH_TRAVERSAL, UNSAFE_WEBVIEW_OAUTH, blocking) + compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) + compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking + compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking + compile 'com.example.issues:deprecated:2.0.0' // Deprecated + + compile 'log4j:log4j:latest.release' // OK + compile 'log4j:log4j' // OK + compile 'log4j:log4j:_' // OK + + compile 'com.another.example:example' // Ok (not in Index) +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `GradleDetector.testSdkIndexLibrary`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=192708. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection PlaySdkIndexDeprecated + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="PlaySdkIndexDeprecated" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'PlaySdkIndexDeprecated' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore PlaySdkIndexDeprecated ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/PlaySdkIndexGenericIssues.md.html b/docs/checks/PlaySdkIndexGenericIssues.md.html index bc89c67a..e906725b 100644 --- a/docs/checks/PlaySdkIndexGenericIssues.md.html +++ b/docs/checks/PlaySdkIndexGenericIssues.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Gradle build files and TOML files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 This library version has issues that could block publishing in the Google Play Store. diff --git a/docs/checks/PlaySdkIndexNonCompliant.md.html b/docs/checks/PlaySdkIndexNonCompliant.md.html index c134dd39..88c16d4a 100644 --- a/docs/checks/PlaySdkIndexNonCompliant.md.html +++ b/docs/checks/PlaySdkIndexNonCompliant.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Gradle build files and TOML files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 This library version has policy issues that will block publishing in the Google Play Store. @@ -136,6 +136,7 @@ compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking + compile 'com.example.issues:deprecated:2.0.0' // Deprecated compile 'log4j:log4j:latest.release' // OK compile 'log4j:log4j' // OK diff --git a/docs/checks/PlaySdkIndexVulnerability.md.html b/docs/checks/PlaySdkIndexVulnerability.md.html index 9d07245a..c47d14cc 100644 --- a/docs/checks/PlaySdkIndexVulnerability.md.html +++ b/docs/checks/PlaySdkIndexVulnerability.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.8.0-alpha02 (September 2024) Affects : Gradle build files and TOML files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 This library version has vulnerability issues that could block publishing in the Google Play Store. @@ -92,6 +92,7 @@ compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking + compile 'com.example.issues:deprecated:2.0.0' // Deprecated compile 'log4j:log4j:latest.release' // OK compile 'log4j:log4j' // OK diff --git a/docs/checks/PluralsCandidate.md.html b/docs/checks/PluralsCandidate.md.html index 3597b438..b8855a0e 100644 --- a/docs/checks/PluralsCandidate.md.html +++ b/docs/checks/PluralsCandidate.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/StringFormatDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/StringFormatDetectorTest.java) -Copyright Year -: 2011 This lint check looks for potential errors in internationalization where you have translated a message which involves a quantity and it looks diff --git a/docs/checks/PrivacySandboxBlockedCall.md.html b/docs/checks/PrivacySandboxBlockedCall.md.html new file mode 100644 index 00000000..1da7408d --- /dev/null +++ b/docs/checks/PrivacySandboxBlockedCall.md.html @@ -0,0 +1,89 @@ + +(#) Call is blocked in the Privacy Sandbox + +!!! WARNING: Call is blocked in the Privacy Sandbox + This is a warning. + +Id +: `PrivacySandboxBlockedCall` +Summary +: Call is blocked in the Privacy Sandbox +Note +: **This issue is disabled by default**; use `--enable PrivacySandboxBlockedCall` +Severity +: Warning +Category +: Correctness +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.9.0-alpha03 (November 2024) +Affects +: Kotlin and Java files +Editing +: This check can *not* run live in the IDE editor +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RestrictedEnvironmentBlockedCallDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RestrictedEnvironmentBlockedCallDetectorTest.kt) + +Many APIs are unavailable in the Privacy Sandbox, depending on the +`targetSdk`. + +If your code is designed to run in the sandbox (and never outside the +sandbox) then you should remove the blocked calls to avoid exceptions at +runtime. + +If your code is part of a library that can be executed both inside and +outside the sandbox, surround the code with `if +(!Process.isSdkSandbox()) { ... }` (or use your own field or method +annotated with `@ChecksRestrictedEnvironment`) to avoid executing +blocked calls when in the sandbox. Or, add the +`@RestrictedForEnvironment` annotation to the containing method if the +entire method should not be called when in the sandbox. + +This check is disabled by default, and should only be enabled in modules +that may execute in the Privacy Sandbox. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="PrivacySandboxBlockedCall" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'PrivacySandboxBlockedCall' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore PrivacySandboxBlockedCall ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/PrivateApi.md.html b/docs/checks/PrivateApi.md.html index f672ade6..95c75dcd 100644 --- a/docs/checks/PrivateApi.md.html +++ b/docs/checks/PrivateApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PrivateApiDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PrivateApiDetectorTest.kt) -Copyright Year -: 2017 Using reflection to access hidden/private Android APIs is not safe; it will often not work on devices from other vendors, and it may suddenly diff --git a/docs/checks/PrivateResource.md.html b/docs/checks/PrivateResource.md.html index d1060898..82e98ab2 100644 --- a/docs/checks/PrivateResource.md.html +++ b/docs/checks/PrivateResource.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/ProduceStateDoesNotAssignValue.md.html b/docs/checks/ProduceStateDoesNotAssignValue.md.html index 3601ecd0..589eb2ce 100644 --- a/docs/checks/ProduceStateDoesNotAssignValue.md.html +++ b/docs/checks/ProduceStateDoesNotAssignValue.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -121,17 +122,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -143,11 +144,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/Proguard.md.html b/docs/checks/Proguard.md.html index a9a43d0b..700ca2b9 100644 --- a/docs/checks/Proguard.md.html +++ b/docs/checks/Proguard.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Shrinking configuration files Editing diff --git a/docs/checks/ProguardSplit.md.html b/docs/checks/ProguardSplit.md.html index 3875fd45..592bd1bc 100644 --- a/docs/checks/ProguardSplit.md.html +++ b/docs/checks/ProguardSplit.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Shrinking configuration files Editing diff --git a/docs/checks/PropertyEscape.md.html b/docs/checks/PropertyEscape.md.html index b412c36c..6ab4bb34 100644 --- a/docs/checks/PropertyEscape.md.html +++ b/docs/checks/PropertyEscape.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Property files Editing diff --git a/docs/checks/ProtectedPermissions.md.html b/docs/checks/ProtectedPermissions.md.html index e071e9e8..f588f446 100644 --- a/docs/checks/ProtectedPermissions.md.html +++ b/docs/checks/ProtectedPermissions.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html index 51dbd7dc..cfc6d871 100644 --- a/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html +++ b/docs/checks/ProtoLayoutEdgeContentLayoutResponsive.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing @@ -56,17 +57,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha04") +implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha05") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha04' +implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha05' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.3.0-alpha04" +protolayout = "1.3.0-alpha05" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -78,14 +79,14 @@ } ``` -1.3.0-alpha04 is the version this documentation was generated from; +1.3.0-alpha05 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. Use one of the following artifacts: -* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha04` +* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha05` [Additional details about androidx.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html). diff --git a/docs/checks/ProtoLayoutMinSchema.md.html b/docs/checks/ProtoLayoutMinSchema.md.html index a1031ffd..907eb33f 100644 --- a/docs/checks/ProtoLayoutMinSchema.md.html +++ b/docs/checks/ProtoLayoutMinSchema.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html) - +Since +: 1.1.0 Affects : Kotlin and Java files Editing @@ -138,17 +139,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha04") +implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha05") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha04' +implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha05' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.3.0-alpha04" +protolayout = "1.3.0-alpha05" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -160,14 +161,14 @@ } ``` -1.3.0-alpha04 is the version this documentation was generated from; +1.3.0-alpha05 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. Use one of the following artifacts: -* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha04` +* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha05` [Additional details about androidx.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html). diff --git a/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html b/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html index 2c664341..3cf10852 100644 --- a/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html +++ b/docs/checks/ProtoLayoutPrimaryLayoutResponsive.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing @@ -160,17 +161,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha04") +implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha05") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha04' +implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha05' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.3.0-alpha04" +protolayout = "1.3.0-alpha05" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -182,14 +183,14 @@ } ``` -1.3.0-alpha04 is the version this documentation was generated from; +1.3.0-alpha05 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. Use one of the following artifacts: -* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha04` +* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha05` [Additional details about androidx.wear.protolayout:protolayout](androidx_wear_protolayout_protolayout.md.html). diff --git a/docs/checks/ProviderReadPermissionOnly.md.html b/docs/checks/ProviderReadPermissionOnly.md.html index e27c2843..8ee0dc24 100644 --- a/docs/checks/ProviderReadPermissionOnly.md.html +++ b/docs/checks/ProviderReadPermissionOnly.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ProviderPermissionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ProviderPermissionDetectorTest.kt) -Copyright Year -: 2022 This check looks for Content Providers that only have the `readPermission` attribute but implement write APIs. diff --git a/docs/checks/ProvidesMustNotBeAbstract.md.html b/docs/checks/ProvidesMustNotBeAbstract.md.html index cee63460..8e00844f 100644 --- a/docs/checks/ProvidesMustNotBeAbstract.md.html +++ b/docs/checks/ProvidesMustNotBeAbstract.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ProxyPassword.md.html b/docs/checks/ProxyPassword.md.html index 59afc46a..358b71e1 100644 --- a/docs/checks/ProxyPassword.md.html +++ b/docs/checks/ProxyPassword.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Property files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PropertyFileDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PropertyFileDetectorTest.kt) -Copyright Year -: 2014 Storing proxy server passwords in clear text is dangerous if this file is shared via version control. If this is deliberate or this is a truly diff --git a/docs/checks/PublicKeyCredential.md.html b/docs/checks/PublicKeyCredential.md.html index 509ddbd5..8c017217 100644 --- a/docs/checks/PublicKeyCredential.md.html +++ b/docs/checks/PublicKeyCredential.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.4.0 (April 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PublicKeyCredentialDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PublicKeyCredentialDetectorTest.kt) -Copyright Year -: 2023 Credential Manager API supports creating public key credential (Passkeys) starting Android 9 or higher. Please check for the Android diff --git a/docs/checks/PxUsage.md.html b/docs/checks/PxUsage.md.html index 1d92cfff..10bbdd22 100644 --- a/docs/checks/PxUsage.md.html +++ b/docs/checks/PxUsage.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/QueryAllPackagesPermission.md.html b/docs/checks/QueryAllPackagesPermission.md.html index e08d4208..d1fe7fd6 100644 --- a/docs/checks/QueryAllPackagesPermission.md.html +++ b/docs/checks/QueryAllPackagesPermission.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PackageVisibilityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PackageVisibilityDetectorTest.kt) -Copyright Year -: 2020 If you need to query or interact with other installed apps, you should be using a `` declaration in your manifest. Using the diff --git a/docs/checks/QueryPermissionsNeeded.md.html b/docs/checks/QueryPermissionsNeeded.md.html index 0ce4be01..731a6444 100644 --- a/docs/checks/QueryPermissionsNeeded.md.html +++ b/docs/checks/QueryPermissionsNeeded.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Kotlin and Java files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PackageVisibilityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PackageVisibilityDetectorTest.kt) -Copyright Year -: 2020 Apps that target Android 11 cannot query or interact with other installed apps by default. If you need to query or interact with other diff --git a/docs/checks/Range.md.html b/docs/checks/Range.md.html index c7745ffd..f6bdf347 100644 --- a/docs/checks/Range.md.html +++ b/docs/checks/Range.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RangeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RangeDetectorTest.kt) -Copyright Year -: 2017 Some parameters are required to be in a particular numerical range; this check makes sure that arguments passed fall within the range. For diff --git a/docs/checks/RawColor.md.html b/docs/checks/RawColor.md.html index da0d256b..cb697a70 100644 --- a/docs/checks/RawColor.md.html +++ b/docs/checks/RawColor.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/RawDimen.md.html b/docs/checks/RawDimen.md.html index 9140534d..99043034 100644 --- a/docs/checks/RawDimen.md.html +++ b/docs/checks/RawDimen.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/RawDispatchersUse.md.html b/docs/checks/RawDispatchersUse.md.html index 7868b3ab..d7cbdaae 100644 --- a/docs/checks/RawDispatchersUse.md.html +++ b/docs/checks/RawDispatchersUse.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/Recycle.md.html b/docs/checks/Recycle.md.html index 9ac573d9..112056a2 100644 --- a/docs/checks/Recycle.md.html +++ b/docs/checks/Recycle.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/RecyclerView.md.html b/docs/checks/RecyclerView.md.html index 6c44b559..b4e17406 100644 --- a/docs/checks/RecyclerView.md.html +++ b/docs/checks/RecyclerView.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RecyclerViewDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RecyclerViewDetectorTest.kt) -Copyright Year -: 2015 `RecyclerView` will **not** call `onBindViewHolder` again when the position of the item changes in the data set unless the item itself is diff --git a/docs/checks/RedactedInJavaUsage.md.html b/docs/checks/RedactedInJavaUsage.md.html index 209d9b31..c10842bb 100644 --- a/docs/checks/RedactedInJavaUsage.md.html +++ b/docs/checks/RedactedInJavaUsage.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/RedundantBinds.md.html b/docs/checks/RedundantBinds.md.html index 8c08e98b..38bc8838 100644 --- a/docs/checks/RedundantBinds.md.html +++ b/docs/checks/RedundantBinds.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.5.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/RedundantLabel.md.html b/docs/checks/RedundantLabel.md.html index 17d4ff4e..7041f8b7 100644 --- a/docs/checks/RedundantLabel.md.html +++ b/docs/checks/RedundantLabel.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ManifestDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ManifestDetectorTest.kt) -Copyright Year -: 2011 When an activity does not have a label attribute, it will use the one from the application tag. Since the application has already specified diff --git a/docs/checks/RedundantNamespace.md.html b/docs/checks/RedundantNamespace.md.html index c4d5f490..04215a6c 100644 --- a/docs/checks/RedundantNamespace.md.html +++ b/docs/checks/RedundantNamespace.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.4.0 (April 2019) Affects : Manifest files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/NamespaceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/NamespaceDetectorTest.kt) -Copyright Year -: 2012 In Android XML documents, only specify the namespace on the root/document element. Namespace declarations elsewhere in the document diff --git a/docs/checks/ReferenceType.md.html b/docs/checks/ReferenceType.md.html index 34ace877..65d358bc 100644 --- a/docs/checks/ReferenceType.md.html +++ b/docs/checks/ReferenceType.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/Registered.md.html b/docs/checks/Registered.md.html index a767d843..998c1403 100644 --- a/docs/checks/Registered.md.html +++ b/docs/checks/Registered.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/RelativeOverlap.md.html b/docs/checks/RelativeOverlap.md.html index d4168fcc..1ad2b0bb 100644 --- a/docs/checks/RelativeOverlap.md.html +++ b/docs/checks/RelativeOverlap.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 0.2.0 (October 2014) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RelativeOverlapDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RelativeOverlapDetectorTest.kt) -Copyright Year -: 2014 If relative layout has text or button items aligned to left and right sides they can overlap each other due to localized text expansion unless diff --git a/docs/checks/RememberReturnType.md.html b/docs/checks/RememberReturnType.md.html index 05b771e0..6086c5a7 100644 --- a/docs/checks/RememberReturnType.md.html +++ b/docs/checks/RememberReturnType.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -244,17 +245,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -266,11 +267,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/RememberSaveableSaverParameter.md.html b/docs/checks/RememberSaveableSaverParameter.md.html index badaf6ef..2d4620c6 100644 --- a/docs/checks/RememberSaveableSaverParameter.md.html +++ b/docs/checks/RememberSaveableSaverParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.runtime:runtime-saveable-android](androidx_compose_runtime_runtime-saveable-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -130,17 +131,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.saveable.android) # libs.versions.toml [versions] -runtime-saveable-android = "1.8.0-alpha06" +runtime-saveable-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -152,11 +153,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-saveable-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-saveable-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-saveable-android](androidx_compose_runtime_runtime-saveable-android.md.html). diff --git a/docs/checks/RemoteViewLayout.md.html b/docs/checks/RemoteViewLayout.md.html index 28674f87..ac7770d7 100644 --- a/docs/checks/RemoteViewLayout.md.html +++ b/docs/checks/RemoteViewLayout.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.2.0 (May 2021) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RemoteViewDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RemoteViewDetectorTest.kt) -Copyright Year -: 2020 In a `RemoteView`, only some layouts and views are allowed. diff --git a/docs/checks/RemoveWorkManagerInitializer.md.html b/docs/checks/RemoveWorkManagerInitializer.md.html index e3974835..6dab56b0 100644 --- a/docs/checks/RemoveWorkManagerInitializer.md.html +++ b/docs/checks/RemoveWorkManagerInitializer.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.3.0 Affects : Kotlin and Java files and manifest files Editing diff --git a/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html b/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html index 234ad340..d6ec1d5e 100644 --- a/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html +++ b/docs/checks/RepeatOnLifecycleWrongUsage-2.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.lifecycle:lifecycle-runtime-ktx](androidx_lifecycle_lifecycle-runtime-ktx.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files Editing @@ -48,7 +49,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle (this issue) -* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07](RepeatOnLifecycleWrongUsage.md.html) +* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08](RepeatOnLifecycleWrongUsage.md.html) * [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](RepeatOnLifecycleWrongUsage-2.md.html) diff --git a/docs/checks/RepeatOnLifecycleWrongUsage.md.html b/docs/checks/RepeatOnLifecycleWrongUsage.md.html index 33557a32..b09cdf03 100644 --- a/docs/checks/RepeatOnLifecycleWrongUsage.md.html +++ b/docs/checks/RepeatOnLifecycleWrongUsage.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.lifecycle:lifecycle-runtime-android](androidx_lifecycle_lifecycle-runtime-android.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files Editing @@ -48,7 +49,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle (this issue) -* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07](RepeatOnLifecycleWrongUsage.md.html) +* [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08](RepeatOnLifecycleWrongUsage.md.html) * [RepeatOnLifecycleWrongUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](RepeatOnLifecycleWrongUsage-2.md.html) @@ -60,17 +61,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.9.0-alpha07" +lifecycle-runtime-android = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -82,7 +83,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-runtime-android](androidx_lifecycle_lifecycle-runtime-android.md.html). diff --git a/docs/checks/ReportShortcutUsage.md.html b/docs/checks/ReportShortcutUsage.md.html index a3887a26..ea8fbd9a 100644 --- a/docs/checks/ReportShortcutUsage.md.html +++ b/docs/checks/ReportShortcutUsage.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ShortcutUsageDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ShortcutUsageDetectorTest.kt) -Copyright Year -: 2022 Reporting shortcut usage is important to improving the ranking of shortcuts. diff --git a/docs/checks/RequiredSize.md.html b/docs/checks/RequiredSize.md.html index 670f3242..e8b29e72 100644 --- a/docs/checks/RequiredSize.md.html +++ b/docs/checks/RequiredSize.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/RequiresFeature.md.html b/docs/checks/RequiresFeature.md.html index 30a5ffd8..b55fcde2 100644 --- a/docs/checks/RequiresFeature.md.html +++ b/docs/checks/RequiresFeature.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RequiresFeatureDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RequiresFeatureDetectorTest.kt) -Copyright Year -: 2018 Some APIs require optional features to be present. This check makes sure that calls to these APIs are surrounded by a check which enforces this. diff --git a/docs/checks/ResAuto.md.html b/docs/checks/ResAuto.md.html index 354c13dc..8e91a4a0 100644 --- a/docs/checks/ResAuto.md.html +++ b/docs/checks/ResAuto.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files and resource files Editing diff --git a/docs/checks/ReservedSystemPermission.md.html b/docs/checks/ReservedSystemPermission.md.html index a25764a6..7a3f347f 100644 --- a/docs/checks/ReservedSystemPermission.md.html +++ b/docs/checks/ReservedSystemPermission.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PermissionErrorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PermissionErrorDetectorTest.kt) -Copyright Year -: 2022 This check looks for custom permission declarations whose names are reserved values for system or Android SDK permissions, or begin with the diff --git a/docs/checks/ResourceAsColor.md.html b/docs/checks/ResourceAsColor.md.html index 956cf215..9cbf570c 100644 --- a/docs/checks/ResourceAsColor.md.html +++ b/docs/checks/ResourceAsColor.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ResourceTypeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ResourceTypeDetectorTest.kt) -Copyright Year -: 2017 Methods that take a color in the form of an integer should be passed an RGB triple, not the actual color resource id. You must call diff --git a/docs/checks/ResourceCycle.md.html b/docs/checks/ResourceCycle.md.html index 8d34b836..2035a0dc 100644 --- a/docs/checks/ResourceCycle.md.html +++ b/docs/checks/ResourceCycle.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ResourceName.md.html b/docs/checks/ResourceName.md.html index fa500107..846e87bf 100644 --- a/docs/checks/ResourceName.md.html +++ b/docs/checks/ResourceName.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Binary resource files and resource files Editing diff --git a/docs/checks/ResourceType.md.html b/docs/checks/ResourceType.md.html index be1f9bb7..041b4b64 100644 --- a/docs/checks/ResourceType.md.html +++ b/docs/checks/ResourceType.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ResourceTypeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ResourceTypeDetectorTest.kt) -Copyright Year -: 2017 Ensures that resource id's passed to APIs are of the right type; for example, calling `Resources.getColor(R.string.name)` is wrong. diff --git a/docs/checks/ResourcesGetColorCall.md.html b/docs/checks/ResourcesGetColorCall.md.html index 60466dd5..bc6c615a 100644 --- a/docs/checks/ResourcesGetColorCall.md.html +++ b/docs/checks/ResourcesGetColorCall.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/ResourcesGetColorStateListCall.md.html b/docs/checks/ResourcesGetColorStateListCall.md.html index 67cf7872..a18dc522 100644 --- a/docs/checks/ResourcesGetColorStateListCall.md.html +++ b/docs/checks/ResourcesGetColorStateListCall.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/ResourcesGetDrawableCall.md.html b/docs/checks/ResourcesGetDrawableCall.md.html index fa201b7f..9c0157cc 100644 --- a/docs/checks/ResourcesGetDrawableCall.md.html +++ b/docs/checks/ResourcesGetDrawableCall.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/RestrictCallsTo.md.html b/docs/checks/RestrictCallsTo.md.html index f3272473..f01427c0 100644 --- a/docs/checks/RestrictCallsTo.md.html +++ b/docs/checks/RestrictCallsTo.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/RestrictedApi.md.html b/docs/checks/RestrictedApi.md.html index cf9c7728..f92c7f33 100644 --- a/docs/checks/RestrictedApi.md.html +++ b/docs/checks/RestrictedApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RestrictToDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RestrictToDetectorTest.kt) -Copyright Year -: 2017 This API has been flagged with a restriction that has not been met. diff --git a/docs/checks/RetrofitUsage.md.html b/docs/checks/RetrofitUsage.md.html index 208563d0..aa388f0e 100644 --- a/docs/checks/RetrofitUsage.md.html +++ b/docs/checks/RetrofitUsage.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ReturnFromAwaitPointerEventScope.md.html b/docs/checks/ReturnFromAwaitPointerEventScope.md.html index af840004..3837576d 100644 --- a/docs/checks/ReturnFromAwaitPointerEventScope.md.html +++ b/docs/checks/ReturnFromAwaitPointerEventScope.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -52,17 +53,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -74,11 +75,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/ReturnThis.md.html b/docs/checks/ReturnThis.md.html index f37f3eaf..e20ae1ff 100644 --- a/docs/checks/ReturnThis.md.html +++ b/docs/checks/ReturnThis.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ReturnThisDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ReturnThisDetectorTest.kt) -Copyright Year -: 2022 Methods annotated with `@ReturnThis` (usually in the super method that this method is overriding) should also `return this`. diff --git a/docs/checks/RiskyLibrary.md.html b/docs/checks/RiskyLibrary.md.html index 0270e642..bff39d35 100644 --- a/docs/checks/RiskyLibrary.md.html +++ b/docs/checks/RiskyLibrary.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Gradle build files and TOML files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Your app is using a version of a library that has been identified by the library developer as a potential source of privacy and/or security @@ -92,6 +92,7 @@ compile 'com.example.ads.third.party:example:7.1.12' // Vulnerability multiple (non-blocking) compile 'com.example.issues:issues-on-latest:1.8.0' // Outdated blocking compile 'com.example.issues:latest-is-preview:1.0.0' // Outdated non-blocking + compile 'com.example.issues:deprecated:2.0.0' // Deprecated compile 'log4j:log4j:latest.release' // OK compile 'log4j:log4j' // OK diff --git a/docs/checks/RtlCompat.md.html b/docs/checks/RtlCompat.md.html index 29b423ba..c4ba0056 100644 --- a/docs/checks/RtlCompat.md.html +++ b/docs/checks/RtlCompat.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/RtlEnabled.md.html b/docs/checks/RtlEnabled.md.html index 017da0bb..060fdbc7 100644 --- a/docs/checks/RtlEnabled.md.html +++ b/docs/checks/RtlEnabled.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/RtlHardcoded.md.html b/docs/checks/RtlHardcoded.md.html index f037f085..8338e225 100644 --- a/docs/checks/RtlHardcoded.md.html +++ b/docs/checks/RtlHardcoded.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/RtlSymmetry.md.html b/docs/checks/RtlSymmetry.md.html index 9e0e2966..7911c7c8 100644 --- a/docs/checks/RtlSymmetry.md.html +++ b/docs/checks/RtlSymmetry.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, manifest files and resource files Editing diff --git a/docs/checks/RxJava2DefaultScheduler.md.html b/docs/checks/RxJava2DefaultScheduler.md.html index 0f103701..7dd79ab3 100644 --- a/docs/checks/RxJava2DefaultScheduler.md.html +++ b/docs/checks/RxJava2DefaultScheduler.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/RxJava2DisposableAddAllCall.md.html b/docs/checks/RxJava2DisposableAddAllCall.md.html index f6c7570b..8321a859 100644 --- a/docs/checks/RxJava2DisposableAddAllCall.md.html +++ b/docs/checks/RxJava2DisposableAddAllCall.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/RxJava2DisposableDisposeCall.md.html b/docs/checks/RxJava2DisposableDisposeCall.md.html index cc4e13be..4c5f3d32 100644 --- a/docs/checks/RxJava2DisposableDisposeCall.md.html +++ b/docs/checks/RxJava2DisposableDisposeCall.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html b/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html index 5edb3104..46dea422 100644 --- a/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html +++ b/docs/checks/RxJava2MethodMissingCheckReturnValue.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/RxJava2MissingCompositeDisposableClear.md.html b/docs/checks/RxJava2MissingCompositeDisposableClear.md.html index da260958..4119698a 100644 --- a/docs/checks/RxJava2MissingCompositeDisposableClear.md.html +++ b/docs/checks/RxJava2MissingCompositeDisposableClear.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/RxJava2SchedulersFactoryCall.md.html b/docs/checks/RxJava2SchedulersFactoryCall.md.html index 98e51051..0dcd973c 100644 --- a/docs/checks/RxJava2SchedulersFactoryCall.md.html +++ b/docs/checks/RxJava2SchedulersFactoryCall.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/RxJava2SubscribeMissingOnError.md.html b/docs/checks/RxJava2SubscribeMissingOnError.md.html index 68fd12fe..ad9c527a 100644 --- a/docs/checks/RxJava2SubscribeMissingOnError.md.html +++ b/docs/checks/RxJava2SubscribeMissingOnError.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-rxjava2](com_vanniktech_lint-rules-rxjava2.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/SQLiteString.md.html b/docs/checks/SQLiteString.md.html index 03669542..72b62df2 100644 --- a/docs/checks/SQLiteString.md.html +++ b/docs/checks/SQLiteString.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.3.0 (July 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SQLiteDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SQLiteDetectorTest.java) -Copyright Year -: 2015 In SQLite, any column can store any data type; the declared type for a column is more of a hint as to what the data should be cast to when diff --git a/docs/checks/SSLCertificateSocketFactoryCreateSocket.md.html b/docs/checks/SSLCertificateSocketFactoryCreateSocket.md.html index c1ef2361..97eeab72 100644 --- a/docs/checks/SSLCertificateSocketFactoryCreateSocket.md.html +++ b/docs/checks/SSLCertificateSocketFactoryCreateSocket.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SslCertificateSocketFactoryDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SslCertificateSocketFactoryDetectorTest.kt) -Copyright Year -: 2015 When `SSLCertificateSocketFactory.createSocket()` is called with an `InetAddress` as the first parameter, TLS/SSL hostname verification is diff --git a/docs/checks/SSLCertificateSocketFactoryGetInsecure.md.html b/docs/checks/SSLCertificateSocketFactoryGetInsecure.md.html index 942ed019..d7f7d6bf 100644 --- a/docs/checks/SSLCertificateSocketFactoryGetInsecure.md.html +++ b/docs/checks/SSLCertificateSocketFactoryGetInsecure.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SslCertificateSocketFactoryDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SslCertificateSocketFactoryDetectorTest.kt) -Copyright Year -: 2015 The `SSLCertificateSocketFactory.getInsecure()` method returns an SSLSocketFactory with all TLS/SSL security checks disabled, which could diff --git a/docs/checks/ScheduleExactAlarm.md.html b/docs/checks/ScheduleExactAlarm.md.html index a8a1a17c..b91a0f3a 100644 --- a/docs/checks/ScheduleExactAlarm.md.html +++ b/docs/checks/ScheduleExactAlarm.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AlarmDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AlarmDetectorTest.kt) -Copyright Year -: 2015 Applications looking to schedule exact alarms should ensure that the `SCHEDULE_EXACT_ALARM` permission is granted by calling the diff --git a/docs/checks/ScopedStorage.md.html b/docs/checks/ScopedStorage.md.html index 64c61489..bc38bcab 100644 --- a/docs/checks/ScopedStorage.md.html +++ b/docs/checks/ScopedStorage.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.1.0 (October 2020) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ScopedStorageDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ScopedStorageDetectorTest.kt) -Copyright Year -: 2020 Scoped storage is enforced on Android 10+ (or Android 11+ if using `requestLegacyExternalStorage`). In particular, `WRITE_EXTERNAL_STORAGE` diff --git a/docs/checks/ScrollViewCount.md.html b/docs/checks/ScrollViewCount.md.html index 571c0e09..04d7e5e9 100644 --- a/docs/checks/ScrollViewCount.md.html +++ b/docs/checks/ScrollViewCount.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ScrollViewSize.md.html b/docs/checks/ScrollViewSize.md.html index 1b8cc9a2..74dc22c6 100644 --- a/docs/checks/ScrollViewSize.md.html +++ b/docs/checks/ScrollViewSize.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/SdCardPath.md.html b/docs/checks/SdCardPath.md.html index 7e8e4143..5666bf10 100644 --- a/docs/checks/SdCardPath.md.html +++ b/docs/checks/SdCardPath.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/SecretInSource.md.html b/docs/checks/SecretInSource.md.html index c65aed2e..1f85123b 100644 --- a/docs/checks/SecretInSource.md.html +++ b/docs/checks/SecretInSource.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.3.0 (February 2024) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SecretDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SecretDetectorTest.kt) -Copyright Year -: 2023 Including secrets, such as API keys, in source code is a security risk. It is generally best practice to not include API keys in source code, diff --git a/docs/checks/SecureRandom.md.html b/docs/checks/SecureRandom.md.html index 3d7c768c..f5e62e82 100644 --- a/docs/checks/SecureRandom.md.html +++ b/docs/checks/SecureRandom.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/SelectableText.md.html b/docs/checks/SelectableText.md.html index 6a974549..69610c9a 100644 --- a/docs/checks/SelectableText.md.html +++ b/docs/checks/SelectableText.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/SelectedPhotoAccess.md.html b/docs/checks/SelectedPhotoAccess.md.html index 9d1b6860..82bca523 100644 --- a/docs/checks/SelectedPhotoAccess.md.html +++ b/docs/checks/SelectedPhotoAccess.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.3.0 (February 2024) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SelectedPhotoAccessDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SelectedPhotoAccessDetectorTest.kt) -Copyright Year -: 2022 Selected Photo Access is a new ability for users to share partial access to their photo library when apps request access to their device storage diff --git a/docs/checks/SensitiveExternalPath.md.html b/docs/checks/SensitiveExternalPath.md.html index 90dfc840..ce820ee0 100644 --- a/docs/checks/SensitiveExternalPath.md.html +++ b/docs/checks/SensitiveExternalPath.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Resource files Editing diff --git a/docs/checks/SerializableUsage.md.html b/docs/checks/SerializableUsage.md.html index da62fc5f..d4fc696b 100644 --- a/docs/checks/SerializableUsage.md.html +++ b/docs/checks/SerializableUsage.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/ServiceCast.md.html b/docs/checks/ServiceCast.md.html index bd2a1a44..5ae15114 100644 --- a/docs/checks/ServiceCast.md.html +++ b/docs/checks/ServiceCast.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/SetAndClearCommunicationDevice.md.html b/docs/checks/SetAndClearCommunicationDevice.md.html index c14f32c2..9b648863 100644 --- a/docs/checks/SetAndClearCommunicationDevice.md.html +++ b/docs/checks/SetAndClearCommunicationDevice.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.0.0 (April 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CommunicationDeviceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CommunicationDeviceDetectorTest.kt) -Copyright Year -: 2022 After selecting the audio device for communication use cases using `setCommunicationDevice(AudioDeviceInfo device)`, the selection is diff --git a/docs/checks/SetJavaScriptEnabled.md.html b/docs/checks/SetJavaScriptEnabled.md.html index af773e3e..a5b8c22a 100644 --- a/docs/checks/SetJavaScriptEnabled.md.html +++ b/docs/checks/SetJavaScriptEnabled.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/SetTextI18n.md.html b/docs/checks/SetTextI18n.md.html index feb244f7..0468819e 100644 --- a/docs/checks/SetTextI18n.md.html +++ b/docs/checks/SetTextI18n.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SetTextDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SetTextDetectorTest.kt) -Copyright Year -: 2014 When calling `TextView#setText` diff --git a/docs/checks/SetWorldReadable.md.html b/docs/checks/SetWorldReadable.md.html index f1811bfe..f43e16cc 100644 --- a/docs/checks/SetWorldReadable.md.html +++ b/docs/checks/SetWorldReadable.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SecurityDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SecurityDetectorTest.java) -Copyright Year -: 2011 Setting files world-readable is very dangerous, and likely to cause security holes in applications. It is strongly discouraged; instead, diff --git a/docs/checks/SetWorldWritable.md.html b/docs/checks/SetWorldWritable.md.html index c18bba60..90688bef 100644 --- a/docs/checks/SetWorldWritable.md.html +++ b/docs/checks/SetWorldWritable.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SecurityDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SecurityDetectorTest.java) -Copyright Year -: 2011 Setting files world-writable is very dangerous, and likely to cause security holes in applications. It is strongly discouraged; instead, diff --git a/docs/checks/ShiftFlags.md.html b/docs/checks/ShiftFlags.md.html index e7d49e7c..d9413d82 100644 --- a/docs/checks/ShiftFlags.md.html +++ b/docs/checks/ShiftFlags.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AnnotationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AnnotationDetectorTest.kt) -Copyright Year -: 2012 When defining multiple constants for use in flags, the recommended style is to use the form `1 << 2`, `1 << 3`, `1 << 4` and so on to ensure that diff --git a/docs/checks/ShortAlarm.md.html b/docs/checks/ShortAlarm.md.html index fb71f529..52a8467c 100644 --- a/docs/checks/ShortAlarm.md.html +++ b/docs/checks/ShortAlarm.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.3.0 (July 2015) Affects : Kotlin and Java files and manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AlarmDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AlarmDetectorTest.kt) -Copyright Year -: 2015 Frequent alarms are bad for battery life. As of API 22, the `AlarmManager` will override near-future and high-frequency alarm diff --git a/docs/checks/ShouldUseStaticImport.md.html b/docs/checks/ShouldUseStaticImport.md.html index 66bcfca1..66e40b1b 100644 --- a/docs/checks/ShouldUseStaticImport.md.html +++ b/docs/checks/ShouldUseStaticImport.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/ShowToast.md.html b/docs/checks/ShowToast.md.html index 7f7ce4f8..acc6a469 100644 --- a/docs/checks/ShowToast.md.html +++ b/docs/checks/ShowToast.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/SignatureOrSystemPermissions.md.html b/docs/checks/SignatureOrSystemPermissions.md.html index f60f1146..aaf5931c 100644 --- a/docs/checks/SignatureOrSystemPermissions.md.html +++ b/docs/checks/SignatureOrSystemPermissions.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/SimilarGradleDependency.md.html b/docs/checks/SimilarGradleDependency.md.html index 6ac83806..03fb11db 100644 --- a/docs/checks/SimilarGradleDependency.md.html +++ b/docs/checks/SimilarGradleDependency.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.5.0 (June 2024) Affects : Gradle build files and TOML files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 This detector looks for usages of libraries when name and group are the same but versions are different. Using multiple versions in big project diff --git a/docs/checks/SimpleDateFormat.md.html b/docs/checks/SimpleDateFormat.md.html index 5833ec8d..354da10f 100644 --- a/docs/checks/SimpleDateFormat.md.html +++ b/docs/checks/SimpleDateFormat.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DateFormatDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DateFormatDetectorTest.kt) -Copyright Year -: 2014 Almost all callers should use `getDateInstance()`, `getDateTimeInstance()`, or `getTimeInstance()` to get a ready-made diff --git a/docs/checks/Slices.md.html b/docs/checks/Slices.md.html index b6acbb33..dde80fc0 100644 --- a/docs/checks/Slices.md.html +++ b/docs/checks/Slices.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SliceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SliceDetectorTest.kt) -Copyright Year -: 2018 This check analyzes usages of the Slices API and offers suggestions based on best practices. diff --git a/docs/checks/SlotReused.md.html b/docs/checks/SlotReused.md.html index d20059e3..68785581 100644 --- a/docs/checks/SlotReused.md.html +++ b/docs/checks/SlotReused.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [com.slack.lint.compose:compose-lint-checks](com_slack_lint_compose_compose-lint-checks.md.html) - +Since +: 1.4.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/SmallSp.md.html b/docs/checks/SmallSp.md.html index 22b6c657..be2b01e3 100644 --- a/docs/checks/SmallSp.md.html +++ b/docs/checks/SmallSp.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/SoonBlockedPrivateApi.md.html b/docs/checks/SoonBlockedPrivateApi.md.html index d5d24bdb..c4d957e4 100644 --- a/docs/checks/SoonBlockedPrivateApi.md.html +++ b/docs/checks/SoonBlockedPrivateApi.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PrivateApiDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PrivateApiDetectorTest.kt) -Copyright Year -: 2017 Usage of restricted non-SDK interface will throw an exception at runtime. Accessing non-SDK methods or fields through reflection has a diff --git a/docs/checks/SourceLockedOrientationActivity.md.html b/docs/checks/SourceLockedOrientationActivity.md.html index b1c37d28..b86822fd 100644 --- a/docs/checks/SourceLockedOrientationActivity.md.html +++ b/docs/checks/SourceLockedOrientationActivity.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChromeOsSourceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChromeOsSourceDetectorTest.kt) -Copyright Year -: 2018 The `Activity` should not be locked to a portrait orientation so that users can take advantage of the multi-window environments and larger diff --git a/docs/checks/SpUsage.md.html b/docs/checks/SpUsage.md.html index c5d208a5..265f40c0 100644 --- a/docs/checks/SpUsage.md.html +++ b/docs/checks/SpUsage.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/SpanMarkPointMissingMask.md.html b/docs/checks/SpanMarkPointMissingMask.md.html index e007eeb2..260adde8 100644 --- a/docs/checks/SpanMarkPointMissingMask.md.html +++ b/docs/checks/SpanMarkPointMissingMask.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/SpecifyForegroundServiceType.md.html b/docs/checks/SpecifyForegroundServiceType.md.html index 290576e2..24c2c822 100644 --- a/docs/checks/SpecifyForegroundServiceType.md.html +++ b/docs/checks/SpecifyForegroundServiceType.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.3.1 Affects : Kotlin and Java files and manifest files Editing diff --git a/docs/checks/SpecifyJobSchedulerIdRange.md.html b/docs/checks/SpecifyJobSchedulerIdRange.md.html index 552db237..e00de5bb 100644 --- a/docs/checks/SpecifyJobSchedulerIdRange.md.html +++ b/docs/checks/SpecifyJobSchedulerIdRange.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.3.4 Affects : Kotlin and Java files Editing diff --git a/docs/checks/SquareAndRoundTilePreviews.md.html b/docs/checks/SquareAndRoundTilePreviews.md.html index b722ffa2..5e96d3ff 100644 --- a/docs/checks/SquareAndRoundTilePreviews.md.html +++ b/docs/checks/SquareAndRoundTilePreviews.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Binary resource files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TileProviderDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TileProviderDetectorTest.kt) -Copyright Year -: 2021 Tile projects should specify preview resources for different screen shapes. The preview resource is specified in the manifest under tile diff --git a/docs/checks/StartActivityAndCollapseDeprecated.md.html b/docs/checks/StartActivityAndCollapseDeprecated.md.html index 50e7bcca..ea6666e4 100644 --- a/docs/checks/StartActivityAndCollapseDeprecated.md.html +++ b/docs/checks/StartActivityAndCollapseDeprecated.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TileServiceActivityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TileServiceActivityDetectorTest.kt) -Copyright Year -: 2023 `TileService#startActivityAndCollapse(Intent)` has been deprecated, and will throw an `UnsupportedOperationException` if used in apps targeting diff --git a/docs/checks/StateFlowValueCalledInComposition.md.html b/docs/checks/StateFlowValueCalledInComposition.md.html index 831e2bd1..f7b31877 100644 --- a/docs/checks/StateFlowValueCalledInComposition.md.html +++ b/docs/checks/StateFlowValueCalledInComposition.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -194,17 +195,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -216,11 +217,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/StateListReachable.md.html b/docs/checks/StateListReachable.md.html index 9743d148..b351e2ab 100644 --- a/docs/checks/StateListReachable.md.html +++ b/docs/checks/StateListReachable.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/StaticFieldLeak.md.html b/docs/checks/StaticFieldLeak.md.html index 38e453d8..cce4d54e 100644 --- a/docs/checks/StaticFieldLeak.md.html +++ b/docs/checks/StaticFieldLeak.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LeakDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LeakDetectorTest.kt) -Copyright Year -: 2016 A static field will leak contexts. diff --git a/docs/checks/StopShip.md.html b/docs/checks/StopShip.md.html index 4345067c..3d1a0a1c 100644 --- a/docs/checks/StopShip.md.html +++ b/docs/checks/StopShip.md.html @@ -22,6 +22,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files, Kotlin and Java files, manifest files, property files and resource files Editing diff --git a/docs/checks/StrandhoggVulnerable.md.html b/docs/checks/StrandhoggVulnerable.md.html index f949ecf2..ef8ef8b8 100644 --- a/docs/checks/StrandhoggVulnerable.md.html +++ b/docs/checks/StrandhoggVulnerable.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Manifest files Editing diff --git a/docs/checks/StringEscaping.md.html b/docs/checks/StringEscaping.md.html index bcbeb6cf..07c41447 100644 --- a/docs/checks/StringEscaping.md.html +++ b/docs/checks/StringEscaping.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/StringEscapeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/StringEscapeDetectorTest.kt) -Copyright Year -: 2022 Apostrophes (') must always be escaped (with a \\\\), unless they appear in a string which is itself escaped in double quotes (\"). diff --git a/docs/checks/StringFormatCount.md.html b/docs/checks/StringFormatCount.md.html index c6ad2fa4..cbac397e 100644 --- a/docs/checks/StringFormatCount.md.html +++ b/docs/checks/StringFormatCount.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/StringFormatInTimber.md.html b/docs/checks/StringFormatInTimber.md.html index 38a20aae..b0ae61f2 100644 --- a/docs/checks/StringFormatInTimber.md.html +++ b/docs/checks/StringFormatInTimber.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/StringFormatInvalid.md.html b/docs/checks/StringFormatInvalid.md.html index 5db25977..39e2585f 100644 --- a/docs/checks/StringFormatInvalid.md.html +++ b/docs/checks/StringFormatInvalid.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/StringFormatMatches.md.html b/docs/checks/StringFormatMatches.md.html index 557daf00..023a3168 100644 --- a/docs/checks/StringFormatMatches.md.html +++ b/docs/checks/StringFormatMatches.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/StringFormatTrivial.md.html b/docs/checks/StringFormatTrivial.md.html index f9d57b9f..e646e5e3 100644 --- a/docs/checks/StringFormatTrivial.md.html +++ b/docs/checks/StringFormatTrivial.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/StringFormatDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/StringFormatDetectorTest.java) -Copyright Year -: 2011 Every call to `String.format` creates a new `Formatter` instance, which will decrease the performance of your app. `String.format` should only diff --git a/docs/checks/StringNotCapitalized.md.html b/docs/checks/StringNotCapitalized.md.html index 8596a7ca..6c1a26c2 100644 --- a/docs/checks/StringNotCapitalized.md.html +++ b/docs/checks/StringNotCapitalized.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/StringShouldBeInt.md.html b/docs/checks/StringShouldBeInt.md.html index 678b6311..59649f08 100644 --- a/docs/checks/StringShouldBeInt.md.html +++ b/docs/checks/StringShouldBeInt.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Gradle build files Editing diff --git a/docs/checks/SubscribeOnMain.md.html b/docs/checks/SubscribeOnMain.md.html index 0a994b27..5c2310e4 100644 --- a/docs/checks/SubscribeOnMain.md.html +++ b/docs/checks/SubscribeOnMain.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/SuperfluousMarginDeclaration.md.html b/docs/checks/SuperfluousMarginDeclaration.md.html index c35031b3..3b605730 100644 --- a/docs/checks/SuperfluousMarginDeclaration.md.html +++ b/docs/checks/SuperfluousMarginDeclaration.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/SuperfluousNameSpace.md.html b/docs/checks/SuperfluousNameSpace.md.html index 3badaf98..f3815012 100644 --- a/docs/checks/SuperfluousNameSpace.md.html +++ b/docs/checks/SuperfluousNameSpace.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/SuperfluousPaddingDeclaration.md.html b/docs/checks/SuperfluousPaddingDeclaration.md.html index 7765a9a9..4ca9171d 100644 --- a/docs/checks/SuperfluousPaddingDeclaration.md.html +++ b/docs/checks/SuperfluousPaddingDeclaration.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/SupportAnnotationUsage.md.html b/docs/checks/SupportAnnotationUsage.md.html index 31058275..44d5d0e4 100644 --- a/docs/checks/SupportAnnotationUsage.md.html +++ b/docs/checks/SupportAnnotationUsage.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AnnotationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AnnotationDetectorTest.kt) -Copyright Year -: 2012 This lint check makes sure that the support annotations (such as `@IntDef` and `@ColorInt`) are used correctly. For example, it's an diff --git a/docs/checks/Suspicious0dp.md.html b/docs/checks/Suspicious0dp.md.html index e9512246..919e8905 100644 --- a/docs/checks/Suspicious0dp.md.html +++ b/docs/checks/Suspicious0dp.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/SuspiciousCompositionLocalModifierRead.md.html b/docs/checks/SuspiciousCompositionLocalModifierRead.md.html index 6e595ae0..5b951e93 100644 --- a/docs/checks/SuspiciousCompositionLocalModifierRead.md.html +++ b/docs/checks/SuspiciousCompositionLocalModifierRead.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -116,17 +117,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -138,11 +139,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/SuspiciousImport.md.html b/docs/checks/SuspiciousImport.md.html index ff7be571..c847be91 100644 --- a/docs/checks/SuspiciousImport.md.html +++ b/docs/checks/SuspiciousImport.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/SuspiciousIndentation.md.html b/docs/checks/SuspiciousIndentation.md.html index 025f6a44..9f015ff0 100644 --- a/docs/checks/SuspiciousIndentation.md.html +++ b/docs/checks/SuspiciousIndentation.md.html @@ -6,8 +6,6 @@ Id : `SuspiciousIndentation` -Alias -: SuspiciousIndentAfterControlStatement Summary : Suspicious indentation Severity @@ -20,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Kotlin and Java files Editing @@ -28,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IndentationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IndentationDetectorTest.kt) -Copyright Year -: 2021 This check looks for cases where the indentation suggests a grouping that isn't actually there in the code. A common example of this would be diff --git a/docs/checks/SuspiciousModifierThen.md.html b/docs/checks/SuspiciousModifierThen.md.html index a1561bcc..130c83f1 100644 --- a/docs/checks/SuspiciousModifierThen.md.html +++ b/docs/checks/SuspiciousModifierThen.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.7.0 Affects : Kotlin and Java files and test sources Editing @@ -106,17 +107,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -128,11 +129,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/SwitchIntDef.md.html b/docs/checks/SwitchIntDef.md.html index 74e42995..936a0ece 100644 --- a/docs/checks/SwitchIntDef.md.html +++ b/docs/checks/SwitchIntDef.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AnnotationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AnnotationDetectorTest.kt) -Copyright Year -: 2012 This check warns if a `switch` statement does not explicitly include all the values declared by the typedef `@IntDef` declaration. diff --git a/docs/checks/SyntheticAccessor.md.html b/docs/checks/SyntheticAccessor.md.html index fad060a0..94975430 100644 --- a/docs/checks/SyntheticAccessor.md.html +++ b/docs/checks/SyntheticAccessor.md.html @@ -6,10 +6,6 @@ Id : `SyntheticAccessor` -Alias -: SyntheticAccessorCall -Alias -: PrivateMemberAccessBetweenOuterAndInnerClass Summary : Synthetic Accessor Note @@ -24,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -32,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SyntheticAccessorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SyntheticAccessorDetectorTest.kt) -Copyright Year -: 2018 A private inner class which is accessed from the outer class will force the compiler to insert a synthetic accessor; this means that you are diff --git a/docs/checks/SystemPermissionTypo.md.html b/docs/checks/SystemPermissionTypo.md.html index 98b5086d..fc3b6de6 100644 --- a/docs/checks/SystemPermissionTypo.md.html +++ b/docs/checks/SystemPermissionTypo.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PermissionErrorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PermissionErrorDetectorTest.kt) -Copyright Year -: 2022 This check looks for required permissions that *look* like well-known system permissions or permissions from the Android SDK, but aren't, and diff --git a/docs/checks/TapjackingVulnerable.md.html b/docs/checks/TapjackingVulnerable.md.html index 069730bc..c6b64b5c 100644 --- a/docs/checks/TapjackingVulnerable.md.html +++ b/docs/checks/TapjackingVulnerable.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Resource files Editing diff --git a/docs/checks/TestAppLink.md.html b/docs/checks/TestAppLink.md.html index 084f7cba..75a63b61 100644 --- a/docs/checks/TestAppLink.md.html +++ b/docs/checks/TestAppLink.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AppLinksValidDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AppLinksValidDetectorTest.kt) -Copyright Year -: 2017 Using one or more `tools:validation testUrl="some url"/>` elements in your manifest allows the link attributes in your intent filter to be diff --git a/docs/checks/TestLifecycleOwnerInCoroutine.md.html b/docs/checks/TestLifecycleOwnerInCoroutine.md.html index 0a4f036b..332c47fb 100644 --- a/docs/checks/TestLifecycleOwnerInCoroutine.md.html +++ b/docs/checks/TestLifecycleOwnerInCoroutine.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.lifecycle:lifecycle-runtime-testing](androidx_lifecycle_lifecycle-runtime-testing.md.html) - +Since +: 2.7.0 Affects : Kotlin and Java files and test sources Editing @@ -99,17 +100,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.testing) # libs.versions.toml [versions] -lifecycle-runtime-testing = "2.9.0-alpha07" +lifecycle-runtime-testing = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -121,7 +122,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-runtime-testing](androidx_lifecycle_lifecycle-runtime-testing.md.html). diff --git a/docs/checks/TestManifestGradleConfiguration.md.html b/docs/checks/TestManifestGradleConfiguration.md.html index a41419db..57314cb7 100644 --- a/docs/checks/TestManifestGradleConfiguration.md.html +++ b/docs/checks/TestManifestGradleConfiguration.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.ui:ui-test-manifest](androidx_compose_ui_ui-test-manifest.md.html) - +Since +: 1.2.0 Affects : Gradle build files Editing @@ -111,17 +112,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-test-manifest:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-test-manifest:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-test-manifest:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-test-manifest:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.test.manifest) # libs.versions.toml [versions] -ui-test-manifest = "1.8.0-alpha06" +ui-test-manifest = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -133,11 +134,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-test-manifest-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-test-manifest-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-test-manifest](androidx_compose_ui_ui-test-manifest.md.html). diff --git a/docs/checks/TextFields.md.html b/docs/checks/TextFields.md.html index d9d110dc..4cedca59 100644 --- a/docs/checks/TextFields.md.html +++ b/docs/checks/TextFields.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/TextViewEdits.md.html b/docs/checks/TextViewEdits.md.html index 3955a0a4..8a8eb68a 100644 --- a/docs/checks/TextViewEdits.md.html +++ b/docs/checks/TextViewEdits.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/ThrowableNotAtBeginning.md.html b/docs/checks/ThrowableNotAtBeginning.md.html index 65c9856a..367ec4a4 100644 --- a/docs/checks/ThrowableNotAtBeginning.md.html +++ b/docs/checks/ThrowableNotAtBeginning.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/TilePreviewImageFormat.md.html b/docs/checks/TilePreviewImageFormat.md.html index 7d2faca9..f7745bf6 100644 --- a/docs/checks/TilePreviewImageFormat.md.html +++ b/docs/checks/TilePreviewImageFormat.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Binary resource files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TileProviderDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TileProviderDetectorTest.kt) -Copyright Year -: 2021 Tile projects should specify preview resources with aspect ratio 1:1 and at least 384px by 384px in size. diff --git a/docs/checks/TileProviderPermissions.md.html b/docs/checks/TileProviderPermissions.md.html index 630fa11d..5891f645 100644 --- a/docs/checks/TileProviderPermissions.md.html +++ b/docs/checks/TileProviderPermissions.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TileProviderDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TileProviderDetectorTest.kt) -Copyright Year -: 2021 TileProviders should require the `com.google.android.wearable.permission.BIND_TILE_PROVIDER` permission diff --git a/docs/checks/TimberArgCount.md.html b/docs/checks/TimberArgCount.md.html index 637d00b0..8b53555f 100644 --- a/docs/checks/TimberArgCount.md.html +++ b/docs/checks/TimberArgCount.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/TimberArgTypes.md.html b/docs/checks/TimberArgTypes.md.html index c73d955b..5603f17d 100644 --- a/docs/checks/TimberArgTypes.md.html +++ b/docs/checks/TimberArgTypes.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/TimberExceptionLogging.md.html b/docs/checks/TimberExceptionLogging.md.html index df14ef4c..b17a7638 100644 --- a/docs/checks/TimberExceptionLogging.md.html +++ b/docs/checks/TimberExceptionLogging.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/TimberTagLength.md.html b/docs/checks/TimberTagLength.md.html index 3d01304e..61bf4515 100644 --- a/docs/checks/TimberTagLength.md.html +++ b/docs/checks/TimberTagLength.md.html @@ -26,7 +26,8 @@ : Lint 7.0 Artifact : [com.jakewharton.timber:timber](com_jakewharton_timber_timber.md.html) - +Since +: 4.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/Todo.md.html b/docs/checks/Todo.md.html index cd752fe7..0fe6c583 100644 --- a/docs/checks/Todo.md.html +++ b/docs/checks/Todo.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.7.1 Affects : Gradle build files, Kotlin and Java files, manifest files, resource files and shrinking configuration files Editing diff --git a/docs/checks/TooDeepLayout.md.html b/docs/checks/TooDeepLayout.md.html index 1e47e759..433555c1 100644 --- a/docs/checks/TooDeepLayout.md.html +++ b/docs/checks/TooDeepLayout.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/TooManyViews.md.html b/docs/checks/TooManyViews.md.html index 1f16ed6c..fe63e93a 100644 --- a/docs/checks/TooManyViews.md.html +++ b/docs/checks/TooManyViews.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/TranslucentOrientation.md.html b/docs/checks/TranslucentOrientation.md.html index 6b72f0c7..e8d7c074 100644 --- a/docs/checks/TranslucentOrientation.md.html +++ b/docs/checks/TranslucentOrientation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TranslucentViewDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TranslucentViewDetectorTest.kt) -Copyright Year -: 2018 Specifying a fixed screen orientation with a translucent theme isn't supported on apps with `targetSdkVersion` O or greater since there can diff --git a/docs/checks/TrulyRandom.md.html b/docs/checks/TrulyRandom.md.html index 644ec9a8..ebb283d9 100644 --- a/docs/checks/TrulyRandom.md.html +++ b/docs/checks/TrulyRandom.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Class files Editing diff --git a/docs/checks/TrustAllX509TrustManager.md.html b/docs/checks/TrustAllX509TrustManager.md.html index 657b89df..490237d5 100644 --- a/docs/checks/TrustAllX509TrustManager.md.html +++ b/docs/checks/TrustAllX509TrustManager.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Kotlin and Java files and library bytecode Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/X509TrustManagerDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/X509TrustManagerDetectorTest.kt) -Copyright Year -: 2015 This check looks for X509TrustManager implementations whose `checkServerTrusted` or `checkClientTrusted` methods do nothing (thus diff --git a/docs/checks/TypographyDashes.md.html b/docs/checks/TypographyDashes.md.html index e778a075..47896196 100644 --- a/docs/checks/TypographyDashes.md.html +++ b/docs/checks/TypographyDashes.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/TypographyEllipsis.md.html b/docs/checks/TypographyEllipsis.md.html index bea502f8..830106bc 100644 --- a/docs/checks/TypographyEllipsis.md.html +++ b/docs/checks/TypographyEllipsis.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/TypographyFractions.md.html b/docs/checks/TypographyFractions.md.html index a3a01848..f45f898b 100644 --- a/docs/checks/TypographyFractions.md.html +++ b/docs/checks/TypographyFractions.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/TypographyOther.md.html b/docs/checks/TypographyOther.md.html index 2ae9029d..6d01fb8c 100644 --- a/docs/checks/TypographyOther.md.html +++ b/docs/checks/TypographyOther.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/TypographyQuotes.md.html b/docs/checks/TypographyQuotes.md.html index f8072659..999c59ed 100644 --- a/docs/checks/TypographyQuotes.md.html +++ b/docs/checks/TypographyQuotes.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/Typos.md.html b/docs/checks/Typos.md.html index add327ea..8ef2c2f0 100644 --- a/docs/checks/Typos.md.html +++ b/docs/checks/Typos.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/UastImplementation.md.html b/docs/checks/UastImplementation.md.html index e9995fef..d25aecff 100644 --- a/docs/checks/UastImplementation.md.html +++ b/docs/checks/UastImplementation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.2.0 (May 2022) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UastImplementationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UastImplementationDetectorTest.kt) -Copyright Year -: 2021 Use UAST interface whenever possible, and do not rely on UAST implementation, which is subject to change. If language-specific diff --git a/docs/checks/UnclosedTrace.md.html b/docs/checks/UnclosedTrace.md.html index c7fefb73..1bf3a8f5 100644 --- a/docs/checks/UnclosedTrace.md.html +++ b/docs/checks/UnclosedTrace.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.4.0 (April 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TraceSectionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TraceSectionDetectorTest.kt) -Copyright Year -: 2024 Calls to begin trace sections must be followed by corresponding calls to end those trace sections. Care must be taken to ensure that diff --git a/docs/checks/UnintendedExposedUrl.md.html b/docs/checks/UnintendedExposedUrl.md.html index 104d64dd..1302d15a 100644 --- a/docs/checks/UnintendedExposedUrl.md.html +++ b/docs/checks/UnintendedExposedUrl.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Resource files Editing diff --git a/docs/checks/UnintendedPrivateIpAddress.md.html b/docs/checks/UnintendedPrivateIpAddress.md.html index 804c9b1c..8e22100f 100644 --- a/docs/checks/UnintendedPrivateIpAddress.md.html +++ b/docs/checks/UnintendedPrivateIpAddress.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Resource files Editing diff --git a/docs/checks/UniqueConstants.md.html b/docs/checks/UniqueConstants.md.html index 69361e4f..ef167090 100644 --- a/docs/checks/UniqueConstants.md.html +++ b/docs/checks/UniqueConstants.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AnnotationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AnnotationDetectorTest.kt) -Copyright Year -: 2012 The `@IntDef` annotation allows you to create a light-weight "enum" or type definition. However, it's possible to accidentally specify the same diff --git a/docs/checks/UniquePermission.md.html b/docs/checks/UniquePermission.md.html index 35b73049..ef216328 100644 --- a/docs/checks/UniquePermission.md.html +++ b/docs/checks/UniquePermission.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/UnknownId.md.html b/docs/checks/UnknownId.md.html index 41e9c2ec..739c9343 100644 --- a/docs/checks/UnknownId.md.html +++ b/docs/checks/UnknownId.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/UnknownIdInLayout.md.html b/docs/checks/UnknownIdInLayout.md.html index a84c07cb..5db6a8d4 100644 --- a/docs/checks/UnknownIdInLayout.md.html +++ b/docs/checks/UnknownIdInLayout.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/UnknownNullness.md.html b/docs/checks/UnknownNullness.md.html index fcb755dc..4c143af2 100644 --- a/docs/checks/UnknownNullness.md.html +++ b/docs/checks/UnknownNullness.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/InteroperabilityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/InteroperabilityDetectorTest.kt) -Copyright Year -: 2018 To improve referencing this code from Kotlin, consider adding explicit nullness information here with either `@NonNull` or `@Nullable`. diff --git a/docs/checks/UnlocalizedSms.md.html b/docs/checks/UnlocalizedSms.md.html index ab9542bb..6635d4fe 100644 --- a/docs/checks/UnlocalizedSms.md.html +++ b/docs/checks/UnlocalizedSms.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/UnnecessaryComposedModifier.md.html b/docs/checks/UnnecessaryComposedModifier.md.html index 2629fbd3..f23aed93 100644 --- a/docs/checks/UnnecessaryComposedModifier.md.html +++ b/docs/checks/UnnecessaryComposedModifier.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -112,17 +113,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -134,11 +135,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. [Additional details about androidx.compose.ui:ui-android](androidx_compose_ui_ui-android.md.html). diff --git a/docs/checks/UnnecessaryRequiredFeature.md.html b/docs/checks/UnnecessaryRequiredFeature.md.html index 67b647e5..6ef19568 100644 --- a/docs/checks/UnnecessaryRequiredFeature.md.html +++ b/docs/checks/UnnecessaryRequiredFeature.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.7.0 (October 2024) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RequiredFeatureDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RequiredFeatureDetectorTest.kt) -Copyright Year -: 2024 Avoid unnecessarily requiring features that may exclude your app from being served onto devices it might otherwise support. diff --git a/docs/checks/UnprotectedSMSBroadcastReceiver.md.html b/docs/checks/UnprotectedSMSBroadcastReceiver.md.html index 7e7c169b..5854cc7c 100644 --- a/docs/checks/UnprotectedSMSBroadcastReceiver.md.html +++ b/docs/checks/UnprotectedSMSBroadcastReceiver.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UnsafeBroadcastReceiverDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UnsafeBroadcastReceiverDetectorTest.java) -Copyright Year -: 2015 BroadcastReceivers that declare an intent-filter for `SMS_DELIVER` or `SMS_RECEIVED` must ensure that the caller has the `BROADCAST_SMS` diff --git a/docs/checks/UnrememberedAnimatable.md.html b/docs/checks/UnrememberedAnimatable.md.html index 354c3faf..62191fd7 100644 --- a/docs/checks/UnrememberedAnimatable.md.html +++ b/docs/checks/UnrememberedAnimatable.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -249,17 +250,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.8.0-alpha06" +animation-core-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -271,11 +272,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html). diff --git a/docs/checks/UnrememberedGetBackStackEntry.md.html b/docs/checks/UnrememberedGetBackStackEntry.md.html index 48adff4c..f2f3d6e0 100644 --- a/docs/checks/UnrememberedGetBackStackEntry.md.html +++ b/docs/checks/UnrememberedGetBackStackEntry.md.html @@ -21,10 +21,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files and test sources Editing @@ -169,17 +170,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.9.0-alpha03") +implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.9.0-alpha03" +navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -191,7 +192,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/UnrememberedMutableInteractionSource.md.html b/docs/checks/UnrememberedMutableInteractionSource.md.html index 20708e0b..f06cdad9 100644 --- a/docs/checks/UnrememberedMutableInteractionSource.md.html +++ b/docs/checks/UnrememberedMutableInteractionSource.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html) - +Since +: 1.6.0 Affects : Kotlin and Java files and test sources Editing @@ -160,17 +161,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha06") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha06' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.8.0-alpha06" +foundation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -182,11 +183,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/UnrememberedMutableState.md.html b/docs/checks/UnrememberedMutableState.md.html index 79dfe0de..a5a4e758 100644 --- a/docs/checks/UnrememberedMutableState.md.html +++ b/docs/checks/UnrememberedMutableState.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -270,17 +271,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -292,11 +293,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. [Additional details about androidx.compose.runtime:runtime-android](androidx_compose_runtime_runtime-android.md.html). diff --git a/docs/checks/UnsafeCryptoAlgorithmUsage.md.html b/docs/checks/UnsafeCryptoAlgorithmUsage.md.html index 4e626d47..96ed0b66 100644 --- a/docs/checks/UnsafeCryptoAlgorithmUsage.md.html +++ b/docs/checks/UnsafeCryptoAlgorithmUsage.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UnsafeDynamicallyLoadedCode.md.html b/docs/checks/UnsafeDynamicallyLoadedCode.md.html index 49e79397..165cc9b7 100644 --- a/docs/checks/UnsafeDynamicallyLoadedCode.md.html +++ b/docs/checks/UnsafeDynamicallyLoadedCode.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UnsafeNativeCodeDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UnsafeNativeCodeDetectorTest.kt) -Copyright Year -: 2015 Dynamically loading code from locations other than the application's library directory or the Android platform's built-in library directories diff --git a/docs/checks/UnsafeImplicitIntentLaunch.md.html b/docs/checks/UnsafeImplicitIntentLaunch.md.html index 4ac3e3d5..0035f001 100644 --- a/docs/checks/UnsafeImplicitIntentLaunch.md.html +++ b/docs/checks/UnsafeImplicitIntentLaunch.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UnsafeImplicitIntentDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UnsafeImplicitIntentDetectorTest.kt) -Copyright Year -: 2022 This intent matches a non-exported component within the same app. In many cases, the app developer could instead use an explicit Intent to diff --git a/docs/checks/UnsafeIntentLaunch.md.html b/docs/checks/UnsafeIntentLaunch.md.html index c759feae..6148e5e1 100644 --- a/docs/checks/UnsafeIntentLaunch.md.html +++ b/docs/checks/UnsafeIntentLaunch.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files and manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UnsafeIntentLaunchDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UnsafeIntentLaunchDetectorTest.kt) -Copyright Year -: 2022 Intent that potentially could come from an untrusted source should not be launched from an unprotected component without first being sanitized. diff --git a/docs/checks/UnsafeLifecycleWhenUsage-2.md.html b/docs/checks/UnsafeLifecycleWhenUsage-2.md.html index d43b7fb0..e4492a62 100644 --- a/docs/checks/UnsafeLifecycleWhenUsage-2.md.html +++ b/docs/checks/UnsafeLifecycleWhenUsage-2.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.lifecycle:lifecycle-runtime-ktx](androidx_lifecycle_lifecycle-runtime-ktx.md.html) - +Since +: 2.2.0 Affects : Kotlin and Java files Editing @@ -57,7 +58,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method (this issue) -* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07](UnsafeLifecycleWhenUsage.md.html) +* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08](UnsafeLifecycleWhenUsage.md.html) * [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](UnsafeLifecycleWhenUsage-2.md.html) diff --git a/docs/checks/UnsafeLifecycleWhenUsage.md.html b/docs/checks/UnsafeLifecycleWhenUsage.md.html index bac5b231..1fd26292 100644 --- a/docs/checks/UnsafeLifecycleWhenUsage.md.html +++ b/docs/checks/UnsafeLifecycleWhenUsage.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.lifecycle:lifecycle-runtime-android](androidx_lifecycle_lifecycle-runtime-android.md.html) - +Since +: 2.2.0 Affects : Kotlin and Java files Editing @@ -57,7 +58,7 @@ well. Issue id's must be unique, so you cannot combine these libraries. Also defined in: * UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method (this issue) -* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07](UnsafeLifecycleWhenUsage.md.html) +* [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08](UnsafeLifecycleWhenUsage.md.html) * [UnsafeLifecycleWhenUsage from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01](UnsafeLifecycleWhenUsage-2.md.html) @@ -69,17 +70,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.9.0-alpha07" +lifecycle-runtime-android = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -91,7 +92,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-runtime-android](androidx_lifecycle_lifecycle-runtime-android.md.html). diff --git a/docs/checks/UnsafeNativeCodeLocation.md.html b/docs/checks/UnsafeNativeCodeLocation.md.html index d26f992f..c8f5bb29 100644 --- a/docs/checks/UnsafeNativeCodeLocation.md.html +++ b/docs/checks/UnsafeNativeCodeLocation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.0.0 (April 2016) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UnsafeNativeCodeDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UnsafeNativeCodeDetectorTest.kt) -Copyright Year -: 2015 In general, application native code should only be placed in the application's library directory, not in other locations such as the res diff --git a/docs/checks/UnsafeOptInUsageError.md.html b/docs/checks/UnsafeOptInUsageError.md.html index a17a6854..b2fce9e5 100644 --- a/docs/checks/UnsafeOptInUsageError.md.html +++ b/docs/checks/UnsafeOptInUsageError.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html) - +Since +: 1.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UnsafeOptInUsageWarning.md.html b/docs/checks/UnsafeOptInUsageWarning.md.html index 27224ee3..697ef11a 100644 --- a/docs/checks/UnsafeOptInUsageWarning.md.html +++ b/docs/checks/UnsafeOptInUsageWarning.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html) - +Since +: 1.1.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UnsafeProtectedBroadcastReceiver.md.html b/docs/checks/UnsafeProtectedBroadcastReceiver.md.html index db763f58..26161254 100644 --- a/docs/checks/UnsafeProtectedBroadcastReceiver.md.html +++ b/docs/checks/UnsafeProtectedBroadcastReceiver.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Kotlin and Java files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UnsafeBroadcastReceiverDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UnsafeBroadcastReceiverDetectorTest.java) -Copyright Year -: 2015 `BroadcastReceiver`s that declare an intent-filter for a protected-broadcast action string must check that the received intent's diff --git a/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html b/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html index 09c29972..6291a4d2 100644 --- a/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html +++ b/docs/checks/UnsafeRepeatOnLifecycleDetector.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UnsanitizedContentProviderFilename.md.html b/docs/checks/UnsanitizedContentProviderFilename.md.html index 7f0dce58..b97009f2 100644 --- a/docs/checks/UnsanitizedContentProviderFilename.md.html +++ b/docs/checks/UnsanitizedContentProviderFilename.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.3 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UnsanitizedFilenameFromContentProvider.md.html b/docs/checks/UnsanitizedFilenameFromContentProvider.md.html index 8b8a5aeb..f8cd77db 100644 --- a/docs/checks/UnsanitizedFilenameFromContentProvider.md.html +++ b/docs/checks/UnsanitizedFilenameFromContentProvider.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.8.0-alpha01 (September 2024) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/UnsafeFilenameDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/UnsafeFilenameDetectorTest.kt) -Copyright Year -: 2024 When communicating between applications with files, the server app can provide the client app with a maliciously constructed filename. The diff --git a/docs/checks/UnspecifiedImmutableFlag.md.html b/docs/checks/UnspecifiedImmutableFlag.md.html index 37bdff7e..41e9a78a 100644 --- a/docs/checks/UnspecifiedImmutableFlag.md.html +++ b/docs/checks/UnspecifiedImmutableFlag.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.3.0-alpha01 (December 2020) Affects : Kotlin and Java files Editing @@ -32,8 +34,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PendingIntentMutableFlagDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PendingIntentMutableFlagDetectorTest.kt) -Copyright Year -: 2020 Apps targeting Android 12 and higher must specify either `FLAG_IMMUTABLE` or `FLAG_MUTABLE` when constructing a `PendingIntent`. diff --git a/docs/checks/UnspecifiedRegisterReceiverFlag.md.html b/docs/checks/UnspecifiedRegisterReceiverFlag.md.html index ce00ca98..7d21214b 100644 --- a/docs/checks/UnspecifiedRegisterReceiverFlag.md.html +++ b/docs/checks/UnspecifiedRegisterReceiverFlag.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Kotlin and Java files and test sources Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RegisterReceiverFlagDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RegisterReceiverFlagDetectorTest.kt) -Copyright Year -: 2022 In Android U, all receivers registering for non-system broadcasts are required to include a flag indicating the receiver's exported state. diff --git a/docs/checks/UnsupportedChromeOsCameraSystemFeature.md.html b/docs/checks/UnsupportedChromeOsCameraSystemFeature.md.html index 4e9187c8..16546f55 100644 --- a/docs/checks/UnsupportedChromeOsCameraSystemFeature.md.html +++ b/docs/checks/UnsupportedChromeOsCameraSystemFeature.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChromeOsSourceDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChromeOsSourceDetectorTest.kt) -Copyright Year -: 2018 You should look for the `FEATURE_CAMERA_ANY` features to include all possible cameras that may be on the device. Looking for `FEATURE_CAMERA` diff --git a/docs/checks/UnsupportedChromeOsHardware.md.html b/docs/checks/UnsupportedChromeOsHardware.md.html index d372ebc3..cc6d4dab 100644 --- a/docs/checks/UnsupportedChromeOsHardware.md.html +++ b/docs/checks/UnsupportedChromeOsHardware.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Manifest files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ChromeOsDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ChromeOsDetectorTest.java) -Copyright Year -: 2016 The `` element should not require this unsupported large screen hardware feature. Any not explicitly marked with diff --git a/docs/checks/UnsupportedLayoutAttribute.md.html b/docs/checks/UnsupportedLayoutAttribute.md.html index 7411a6b5..3074ae74 100644 --- a/docs/checks/UnsupportedLayoutAttribute.md.html +++ b/docs/checks/UnsupportedLayoutAttribute.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/UnsupportedTvHardware.md.html b/docs/checks/UnsupportedTvHardware.md.html index 68f918f2..4aabe575 100644 --- a/docs/checks/UnsupportedTvHardware.md.html +++ b/docs/checks/UnsupportedTvHardware.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AndroidTvDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AndroidTvDetectorTest.java) -Copyright Year -: 2015 The `` element should not require this unsupported TV hardware feature. Any uses-feature not explicitly marked with diff --git a/docs/checks/Untranslatable.md.html b/docs/checks/Untranslatable.md.html index 8c7277b2..ef4ade3f 100644 --- a/docs/checks/Untranslatable.md.html +++ b/docs/checks/Untranslatable.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Binary resource files, resource files and resource folders Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TranslationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TranslationDetectorTest.kt) -Copyright Year -: 2018 Strings can be marked with `translatable=false` to indicate that they are not intended to be translated, but are present in the resource file diff --git a/docs/checks/UnusedAttribute.md.html b/docs/checks/UnusedAttribute.md.html index de17ac83..40b2dcf4 100644 --- a/docs/checks/UnusedAttribute.md.html +++ b/docs/checks/UnusedAttribute.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files and resource folders Editing diff --git a/docs/checks/UnusedBoxWithConstraintsScope.md.html b/docs/checks/UnusedBoxWithConstraintsScope.md.html index 0feeb614..e5bb5eb8 100644 --- a/docs/checks/UnusedBoxWithConstraintsScope.md.html +++ b/docs/checks/UnusedBoxWithConstraintsScope.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html) - +Since +: 1.6.0 Affects : Kotlin and Java files and test sources Editing @@ -101,17 +102,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha06") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha06' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.8.0-alpha06" +foundation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -123,11 +124,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/UnusedContentLambdaTargetStateParameter.md.html b/docs/checks/UnusedContentLambdaTargetStateParameter.md.html index c443dcb1..240d3b48 100644 --- a/docs/checks/UnusedContentLambdaTargetStateParameter.md.html +++ b/docs/checks/UnusedContentLambdaTargetStateParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -181,17 +182,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.8.0-alpha06" +animation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -203,11 +204,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). diff --git a/docs/checks/UnusedCrossfadeTargetStateParameter.md.html b/docs/checks/UnusedCrossfadeTargetStateParameter.md.html index 699fc2ab..3b93f058 100644 --- a/docs/checks/UnusedCrossfadeTargetStateParameter.md.html +++ b/docs/checks/UnusedCrossfadeTargetStateParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -115,17 +116,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.8.0-alpha06" +animation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -137,11 +138,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). diff --git a/docs/checks/UnusedIds.md.html b/docs/checks/UnusedIds.md.html index 0e00e5dc..4bc0ad81 100644 --- a/docs/checks/UnusedIds.md.html +++ b/docs/checks/UnusedIds.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, binary resource files, manifest files, resource files and test sources Editing diff --git a/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html b/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html index 56a2fb77..65b59f7c 100644 --- a/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html +++ b/docs/checks/UnusedMaterial3ScaffoldPaddingParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.material3:material3-android](androidx_compose_material3_material3-android.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files and test sources Editing @@ -111,17 +112,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.4.0-alpha04") +implementation("androidx.compose.material3:material3-android:1.4.0-alpha05") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.4.0-alpha04' +implementation 'androidx.compose.material3:material3-android:1.4.0-alpha05' // build.gradle.kts with version catalogs: implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.4.0-alpha04" +material3-android = "1.4.0-alpha05" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -133,11 +134,11 @@ } ``` -1.4.0-alpha04 is the version this documentation was generated from; +1.4.0-alpha05 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.material3:material3-lint:1.4.0-alpha04`. +You can also use `androidx.compose.material3:material3-lint:1.4.0-alpha05`. [Additional details about androidx.compose.material3:material3-android](androidx_compose_material3_material3-android.md.html). diff --git a/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html b/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html index cf8250bd..43e06e46 100644 --- a/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html +++ b/docs/checks/UnusedMaterialScaffoldPaddingParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.material:material-android](androidx_compose_material_material-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -111,17 +112,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.8.0-alpha06") +implementation("androidx.compose.material:material-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.material:material-android:1.8.0-alpha06' +implementation 'androidx.compose.material:material-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.8.0-alpha06" +material-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -133,11 +134,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.material:material-lint:1.8.0-alpha06`. +You can also use `androidx.compose.material:material-lint:1.8.0-alpha07`. [Additional details about androidx.compose.material:material-android](androidx_compose_material_material-android.md.html). diff --git a/docs/checks/UnusedMergeAttributes.md.html b/docs/checks/UnusedMergeAttributes.md.html index 578a44f5..545f8a1d 100644 --- a/docs/checks/UnusedMergeAttributes.md.html +++ b/docs/checks/UnusedMergeAttributes.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.7.1 Affects : Resource files Editing diff --git a/docs/checks/UnusedNamespace.md.html b/docs/checks/UnusedNamespace.md.html index 71f8e145..0e7c8ad2 100644 --- a/docs/checks/UnusedNamespace.md.html +++ b/docs/checks/UnusedNamespace.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files and resource files Editing diff --git a/docs/checks/UnusedQuantity.md.html b/docs/checks/UnusedQuantity.md.html index 2889b057..b9015514 100644 --- a/docs/checks/UnusedQuantity.md.html +++ b/docs/checks/UnusedQuantity.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/UnusedResources.md.html b/docs/checks/UnusedResources.md.html index 6c55e01d..74a78bfa 100644 --- a/docs/checks/UnusedResources.md.html +++ b/docs/checks/UnusedResources.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files, binary resource files, manifest files, resource files and test sources Editing diff --git a/docs/checks/UnusedSharedTransitionModifierParameter.md.html b/docs/checks/UnusedSharedTransitionModifierParameter.md.html index b7977a04..cc55a383 100644 --- a/docs/checks/UnusedSharedTransitionModifierParameter.md.html +++ b/docs/checks/UnusedSharedTransitionModifierParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) - +Since +: 1.8.0-alpha01 Affects : Kotlin and Java files and test sources Editing @@ -92,17 +93,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.8.0-alpha06" +animation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -114,11 +115,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). diff --git a/docs/checks/UnusedTargetStateInContentKeyLambda.md.html b/docs/checks/UnusedTargetStateInContentKeyLambda.md.html index ea63dbd1..f6b221d7 100644 --- a/docs/checks/UnusedTargetStateInContentKeyLambda.md.html +++ b/docs/checks/UnusedTargetStateInContentKeyLambda.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html) - +Since +: 1.8.0-alpha01 Affects : Kotlin and Java files and test sources Editing @@ -179,17 +180,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.8.0-alpha06" +animation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -201,11 +202,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-android](androidx_compose_animation_animation-android.md.html). diff --git a/docs/checks/UnusedTransitionTargetStateParameter.md.html b/docs/checks/UnusedTransitionTargetStateParameter.md.html index a91b714a..23b116db 100644 --- a/docs/checks/UnusedTransitionTargetStateParameter.md.html +++ b/docs/checks/UnusedTransitionTargetStateParameter.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -118,17 +119,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.8.0-alpha06" +animation-core-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -140,11 +141,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha07`. [Additional details about androidx.compose.animation:animation-core-android](androidx_compose_animation_animation-core-android.md.html). diff --git a/docs/checks/UnusedTranslation.md.html b/docs/checks/UnusedTranslation.md.html index 9dc78ec0..6f5febe0 100644 --- a/docs/checks/UnusedTranslation.md.html +++ b/docs/checks/UnusedTranslation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.4.0 (January 2023) Affects : Manifest files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LocaleConfigDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LocaleConfigDetectorTest.kt) -Copyright Year -: 2022 If an application defines a translation for a language which is not included in the app's `localeConfig` file (when declared in the diff --git a/docs/checks/UsableSpace.md.html b/docs/checks/UsableSpace.md.html index cbcfdfc4..b5c485db 100644 --- a/docs/checks/UsableSpace.md.html +++ b/docs/checks/UsableSpace.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.4.0 (April 2019) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/StorageDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/StorageDetectorTest.kt) -Copyright Year -: 2018 When you need to allocate disk space for large files, consider using the new `allocateBytes(FileDescriptor, long)` API, which will automatically diff --git a/docs/checks/UseAlpha2.md.html b/docs/checks/UseAlpha2.md.html index 6919445e..31a655eb 100644 --- a/docs/checks/UseAlpha2.md.html +++ b/docs/checks/UseAlpha2.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Resource folders Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LocaleFolderDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LocaleFolderDetectorTest.kt) -Copyright Year -: 2014 For compatibility with earlier devices, you should only use 3-letter language and region codes when there is no corresponding 2 letter code. diff --git a/docs/checks/UseAndroidAlpha.md.html b/docs/checks/UseAndroidAlpha.md.html index 86942398..ebeebef3 100644 --- a/docs/checks/UseAndroidAlpha.md.html +++ b/docs/checks/UseAndroidAlpha.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Resource files Editing diff --git a/docs/checks/UseAppTint.md.html b/docs/checks/UseAppTint.md.html index 2571d1e2..92fb0667 100644 --- a/docs/checks/UseAppTint.md.html +++ b/docs/checks/UseAppTint.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Resource files Editing diff --git a/docs/checks/UseCheckPermission.md.html b/docs/checks/UseCheckPermission.md.html index c7e2e20e..ff2a4b5f 100644 --- a/docs/checks/UseCheckPermission.md.html +++ b/docs/checks/UseCheckPermission.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Kotlin and Java files and test sources Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CheckResultDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CheckResultDetectorTest.kt) -Copyright Year -: 2017 You normally want to use the result of checking a permission; these methods return whether the permission is held; they do not throw an diff --git a/docs/checks/UseCompatLoadingForColorStateLists.md.html b/docs/checks/UseCompatLoadingForColorStateLists.md.html index 5caf3bd9..a68964f9 100644 --- a/docs/checks/UseCompatLoadingForColorStateLists.md.html +++ b/docs/checks/UseCompatLoadingForColorStateLists.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseCompatLoadingForDrawables.md.html b/docs/checks/UseCompatLoadingForDrawables.md.html index 9d8537bd..0c46226d 100644 --- a/docs/checks/UseCompatLoadingForDrawables.md.html +++ b/docs/checks/UseCompatLoadingForDrawables.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseCompatTextViewDrawableApis.md.html b/docs/checks/UseCompatTextViewDrawableApis.md.html index f984a0c9..9cdda9a4 100644 --- a/docs/checks/UseCompatTextViewDrawableApis.md.html +++ b/docs/checks/UseCompatTextViewDrawableApis.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseCompatTextViewDrawableXml.md.html b/docs/checks/UseCompatTextViewDrawableXml.md.html index 08c6cd7f..5d65bf62 100644 --- a/docs/checks/UseCompatTextViewDrawableXml.md.html +++ b/docs/checks/UseCompatTextViewDrawableXml.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Resource files Editing diff --git a/docs/checks/UseCompoundDrawables.md.html b/docs/checks/UseCompoundDrawables.md.html index 35130f95..f128793e 100644 --- a/docs/checks/UseCompoundDrawables.md.html +++ b/docs/checks/UseCompoundDrawables.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/UseGetLayoutInflater.md.html b/docs/checks/UseGetLayoutInflater.md.html index 1d09dc1c..05ec4b1f 100644 --- a/docs/checks/UseGetLayoutInflater.md.html +++ b/docs/checks/UseGetLayoutInflater.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseOfBundledGooglePlayServices.md.html b/docs/checks/UseOfBundledGooglePlayServices.md.html index 7fec3a2a..3765f831 100644 --- a/docs/checks/UseOfBundledGooglePlayServices.md.html +++ b/docs/checks/UseOfBundledGooglePlayServices.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Gradle build files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 Google Play services SDK's can be selectively included, which enables a smaller APK size. Consider declaring dependencies on individual Google diff --git a/docs/checks/UseOfNonLambdaOffsetOverload.md.html b/docs/checks/UseOfNonLambdaOffsetOverload.md.html index 1fb5e8a4..68e650a8 100644 --- a/docs/checks/UseOfNonLambdaOffsetOverload.md.html +++ b/docs/checks/UseOfNonLambdaOffsetOverload.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html) - +Since +: 1.5.0 Affects : Kotlin and Java files and test sources Editing @@ -50,17 +51,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha06") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha06' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.8.0-alpha06" +foundation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -72,11 +73,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha07`. [Additional details about androidx.compose.foundation:foundation-android](androidx_compose_foundation_foundation-android.md.html). diff --git a/docs/checks/UseRequireInsteadOfGet.md.html b/docs/checks/UseRequireInsteadOfGet.md.html index f3d22c9f..f48a81b2 100644 --- a/docs/checks/UseRequireInsteadOfGet.md.html +++ b/docs/checks/UseRequireInsteadOfGet.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.fragment:fragment](androidx_fragment_fragment.md.html) - +Since +: 1.2.2 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseRequiresApi.md.html b/docs/checks/UseRequiresApi.md.html new file mode 100644 index 00000000..11fc8822 --- /dev/null +++ b/docs/checks/UseRequiresApi.md.html @@ -0,0 +1,178 @@ + +(#) Use `@RequiresApi` instead of `@TargetApi` + +!!! WARNING: Use `@RequiresApi` instead of `@TargetApi` + This is a warning. + +Id +: `UseRequiresApi` +Summary +: Use `@RequiresApi` instead of `@TargetApi` +Severity +: Warning +Category +: Correctness +Platform +: Android +Vendor +: Android Open Source Project +Feedback +: https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.9.0-alpha04 (December 2024) +Affects +: Kotlin and Java files +Editing +: This check runs on the fly in the IDE editor +Implementation +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/AnnotationDetector.kt) +Tests +: [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AnnotationDetectorTest.kt) + +The `@TargetApi` annotation only *suppresses* API warnings locally. +`@RequiresApi` on the other hand will propagate the requirement out to +any *callers* of this API, making sure that they either perform API +level checks (using for example `SDK_INT`), or defining `@RequiresApi` +annotations themselves. + +(The `@TargetApi` annotation predates `@RequiresApi`, and was introduced +as an early way to *suppress* lint API warnings for a particular API +level. Accidentally using `@TargetApi` can lead to crashes since there +is no check that other calls to this method actually check that the call +is safe.) + +!!! Tip + This lint check has an associated quickfix available in the IDE. + +(##) Example + +Here is an example of lint warnings produced by this check: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~text +src/test/pkg/WrongUsagesJava.java:5:Warning: Use +@RequiresApi(Build.VERSION_CODES.HONEYCOMB) instead of @TargetApi` to +propagate the requirement to users of WrongUsagesJava [UseRequiresApi] +@TargetApi(Build.VERSION_CODES.HONEYCOMB) // ERROR 1 +----------------------------------------- +src/test/pkg/WrongUsagesJava.java:7:Warning: Use @RequiresApi(31) +instead of @TargetApi` to propagate the requirement to callers of +testApi [UseRequiresApi] + @TargetApi(31) // ERROR 2 + -------------- +src/test/pkg/WrongUsagesJava.java:10:Warning: Use @RequiresApi(value = +32) instead of @TargetApi` to propagate the requirement to accessors of +testApi [UseRequiresApi] + @TargetApi(value = 32) // ERROR 3 + ---------------------- +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Here are the relevant source files: + +`src/test/pkg/WrongUsagesJava.java`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~java linenumbers +package test.pkg; +import android.os.Build; +import android.annotation.TargetApi; + +@TargetApi(Build.VERSION_CODES.HONEYCOMB) // ERROR 1 +public class WrongUsagesJava { + @TargetApi(31) // ERROR 2 + public void testApi() { } + + @TargetApi(value = 32) // ERROR 3 + public int testApi = 1; +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +`src/test/pkg/WrongUsagesKotlin.kt`: +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~kotlin linenumbers +package test.pkg + +import android.annotation.TargetApi +import android.os.Build + +class WrongUsagesKotlin( + @field:TargetApi(value = 31) // ERROR 4 + @get:TargetApi(Build.VERSION_CODES.TIRAMISU) // ERROR 5 + val member: String +) { + @TargetApi(31) // ERROR 6 + fun testApi() { + } +} +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +You can also visit the +[source code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/AnnotationDetectorTest.kt) +for the unit tests for this check to see additional scenarios. + +The above example was automatically extracted from the first unit test +found for this lint check, `AnnotationDetector.testTargetApi`. +To report a problem with this extracted sample, visit +https://issuetracker.google.com/issues/new?component=192708. + +(##) Suppressing + +You can suppress false positives using one of the following mechanisms: + +* Using a suppression annotation like this on the enclosing + element: + + ```kt + // Kotlin + @Suppress("UseRequiresApi") + fun method() { + problematicStatement() + } + ``` + + or + + ```java + // Java + @SuppressWarnings("UseRequiresApi") + void method() { + problematicStatement(); + } + ``` + +* Using a suppression comment like this on the line above: + + ```kt + //noinspection UseRequiresApi + problematicStatement() + ``` + +* Using a special `lint.xml` file in the source tree which turns off + the check in that folder and any sub folder. A simple file might look + like this: + ```xml + <?xml version="1.0" encoding="UTF-8"?> + <lint> + <issue id="UseRequiresApi" severity="ignore" /> + </lint> + ``` + Instead of `ignore` you can also change the severity here, for + example from `error` to `warning`. You can find additional + documentation on how to filter issues by path, regular expression and + so on + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/lintxml.md.html). + +* In Gradle projects, using the DSL syntax to configure lint. For + example, you can use something like + ```gradle + lintOptions { + disable 'UseRequiresApi' + } + ``` + In Android projects this should be nested inside an `android { }` + block. + +* For manual invocations of `lint`, using the `--ignore` flag: + ``` + $ lint --ignore UseRequiresApi ...` + ``` + +* Last, but not least, using baselines, as discussed + [here](https://googlesamples.github.io/android-custom-lint-rules/usage/baselines.md.html). + + \ No newline at end of file diff --git a/docs/checks/UseRxSetProgress2.md.html b/docs/checks/UseRxSetProgress2.md.html index c1d2a640..662ee256 100644 --- a/docs/checks/UseRxSetProgress2.md.html +++ b/docs/checks/UseRxSetProgress2.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseSdkSuppress.md.html b/docs/checks/UseSdkSuppress.md.html index ec1f09b8..56303ff9 100644 --- a/docs/checks/UseSdkSuppress.md.html +++ b/docs/checks/UseSdkSuppress.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.3.0 (February 2024) Affects : Kotlin and Java files and test sources Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/SdkSuppressDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/SdkSuppressDetectorTest.kt) -Copyright Year -: 2022 In tests, you should be using `@SdkSuppress` instead of `@RequiresApi`. The `@RequiresApi` annotation is used to propagate a version requirement diff --git a/docs/checks/UseSparseArrays.md.html b/docs/checks/UseSparseArrays.md.html index bfd8ef1e..6ed85968 100644 --- a/docs/checks/UseSparseArrays.md.html +++ b/docs/checks/UseSparseArrays.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseSupportActionBar.md.html b/docs/checks/UseSupportActionBar.md.html index 6e6acb10..b85f4e94 100644 --- a/docs/checks/UseSupportActionBar.md.html +++ b/docs/checks/UseSupportActionBar.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.3.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseSwitchCompatOrMaterialCode.md.html b/docs/checks/UseSwitchCompatOrMaterialCode.md.html index aff26b1e..6a9b9b60 100644 --- a/docs/checks/UseSwitchCompatOrMaterialCode.md.html +++ b/docs/checks/UseSwitchCompatOrMaterialCode.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/UseSwitchCompatOrMaterialXml.md.html b/docs/checks/UseSwitchCompatOrMaterialXml.md.html index 8977315e..e2ea6743 100644 --- a/docs/checks/UseSwitchCompatOrMaterialXml.md.html +++ b/docs/checks/UseSwitchCompatOrMaterialXml.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.2.0 Affects : Resource files Editing diff --git a/docs/checks/UseTomlInstead.md.html b/docs/checks/UseTomlInstead.md.html index 8741c995..a88573e1 100644 --- a/docs/checks/UseTomlInstead.md.html +++ b/docs/checks/UseTomlInstead.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.1.0 (July 2023) Affects : Gradle build files and TOML files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/GradleDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/GradleDetectorTest.kt) -Copyright Year -: 2014 If your project is using a `libs.versions.toml` file, you should place all Gradle dependencies in the TOML file. This lint check looks for diff --git a/docs/checks/UseValueOf.md.html b/docs/checks/UseValueOf.md.html index fc8dcd20..df0cce88 100644 --- a/docs/checks/UseValueOf.md.html +++ b/docs/checks/UseValueOf.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/UselessLeaf.md.html b/docs/checks/UselessLeaf.md.html index 68bd192a..a9ac1627 100644 --- a/docs/checks/UselessLeaf.md.html +++ b/docs/checks/UselessLeaf.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/UselessParent.md.html b/docs/checks/UselessParent.md.html index 89a9f8dc..36b6cdef 100644 --- a/docs/checks/UselessParent.md.html +++ b/docs/checks/UselessParent.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/UsingC2DM.md.html b/docs/checks/UsingC2DM.md.html index 0c74f1b0..18195382 100644 --- a/docs/checks/UsingC2DM.md.html +++ b/docs/checks/UsingC2DM.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.3.0 (January 2019) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/C2dmDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/C2dmDetectorTest.kt) -Copyright Year -: 2018 The C2DM library does not work on Android P or newer devices; you should migrate to Firebase Cloud Messaging to ensure reliable message diff --git a/docs/checks/UsingHttp.md.html b/docs/checks/UsingHttp.md.html index 101afed8..e91b540c 100644 --- a/docs/checks/UsingHttp.md.html +++ b/docs/checks/UsingHttp.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 0.2.0 (October 2014) Affects : Property files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/PropertyFileDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/PropertyFileDetectorTest.kt) -Copyright Year -: 2014 The Gradle Wrapper is available both via HTTP and HTTPS. HTTPS is more secure since it protects against man-in-the-middle attacks etc. Older diff --git a/docs/checks/UsingMaterialAndMaterial3Libraries.md.html b/docs/checks/UsingMaterialAndMaterial3Libraries.md.html index b255827c..73509553 100644 --- a/docs/checks/UsingMaterialAndMaterial3Libraries.md.html +++ b/docs/checks/UsingMaterialAndMaterial3Libraries.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.compose.material3:material3-android](androidx_compose_material3_material3-android.md.html) - +Since +: 1.2.0 Affects : Kotlin and Java files and test sources Editing @@ -87,17 +88,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.4.0-alpha04") +implementation("androidx.compose.material3:material3-android:1.4.0-alpha05") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.4.0-alpha04' +implementation 'androidx.compose.material3:material3-android:1.4.0-alpha05' // build.gradle.kts with version catalogs: implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.4.0-alpha04" +material3-android = "1.4.0-alpha05" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -109,11 +110,11 @@ } ``` -1.4.0-alpha04 is the version this documentation was generated from; +1.4.0-alpha05 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.material3:material3-lint:1.4.0-alpha04`. +You can also use `androidx.compose.material3:material3-lint:1.4.0-alpha05`. [Additional details about androidx.compose.material3:material3-android](androidx_compose_material3_material3-android.md.html). diff --git a/docs/checks/UsingOnClickInXml.md.html b/docs/checks/UsingOnClickInXml.md.html index 8710fa3f..b08fe90d 100644 --- a/docs/checks/UsingOnClickInXml.md.html +++ b/docs/checks/UsingOnClickInXml.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.appcompat:appcompat](androidx_appcompat_appcompat.md.html) - +Since +: 1.3.0 Affects : Resource files Editing diff --git a/docs/checks/ValidActionsXml.md.html b/docs/checks/ValidActionsXml.md.html index bb759890..16a1504e 100644 --- a/docs/checks/ValidActionsXml.md.html +++ b/docs/checks/ValidActionsXml.md.html @@ -22,6 +22,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.2.0 (September 2018) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ActionsXmlDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ActionsXmlDetectorTest.kt) -Copyright Year -: 2018 Ensures that an actions XML file is properly formed. diff --git a/docs/checks/ValidFragment.md.html b/docs/checks/ValidFragment.md.html index 56e2492d..4d3bd93d 100644 --- a/docs/checks/ValidFragment.md.html +++ b/docs/checks/ValidFragment.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/ValidRestrictions.md.html b/docs/checks/ValidRestrictions.md.html index 0786e10d..fd2d4550 100644 --- a/docs/checks/ValidRestrictions.md.html +++ b/docs/checks/ValidRestrictions.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RestrictionsDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RestrictionsDetectorTest.kt) -Copyright Year -: 2015 Ensures that an applications restrictions XML file is properly formed. diff --git a/docs/checks/VectorDrawableCompat.md.html b/docs/checks/VectorDrawableCompat.md.html index 7d46725b..c0d2ef0d 100644 --- a/docs/checks/VectorDrawableCompat.md.html +++ b/docs/checks/VectorDrawableCompat.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Resource files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/VectorDrawableCompatDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/VectorDrawableCompatDetectorTest.kt) -Copyright Year -: 2016 To use VectorDrawableCompat, you need to make two modifications to your project. First, set diff --git a/docs/checks/VectorPath.md.html b/docs/checks/VectorPath.md.html index f17b8c77..9b46b2cf 100644 --- a/docs/checks/VectorPath.md.html +++ b/docs/checks/VectorPath.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/VectorPathDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/VectorPathDetectorTest.java) -Copyright Year -: 2017 Using long vector paths is bad for performance. There are several ways to make the `pathData` shorter: diff --git a/docs/checks/VectorRaster.md.html b/docs/checks/VectorRaster.md.html index 48e732e4..68543021 100644 --- a/docs/checks/VectorRaster.md.html +++ b/docs/checks/VectorRaster.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.5.0 (November 2015) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/VectorDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/VectorDetectorTest.java) -Copyright Year -: 2015 Vector icons require API 21 or API 24 depending on used features, but when `minSdkVersion` is less than 21 or 24 and Android Gradle plugin 1.4 diff --git a/docs/checks/ViewBindingType.md.html b/docs/checks/ViewBindingType.md.html index fdb4647c..cf64fa9e 100644 --- a/docs/checks/ViewBindingType.md.html +++ b/docs/checks/ViewBindingType.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ViewBindingTypeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ViewBindingTypeDetectorTest.kt) -Copyright Year -: 2021 All issues related to using the View Binding `tools:viewBindingType` attribute. diff --git a/docs/checks/ViewConstructor.md.html b/docs/checks/ViewConstructor.md.html index 2b3ed123..bbe735dd 100644 --- a/docs/checks/ViewConstructor.md.html +++ b/docs/checks/ViewConstructor.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/ViewHolder.md.html b/docs/checks/ViewHolder.md.html index 04a1c57f..73409ad1 100644 --- a/docs/checks/ViewHolder.md.html +++ b/docs/checks/ViewHolder.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/ViewModelConstructorInComposable.md.html b/docs/checks/ViewModelConstructorInComposable.md.html index df55e642..4bc89568 100644 --- a/docs/checks/ViewModelConstructorInComposable.md.html +++ b/docs/checks/ViewModelConstructorInComposable.md.html @@ -26,7 +26,8 @@ : Lint 8.7+ Artifact : [androidx.lifecycle:lifecycle-viewmodel-compose-android](androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html) - +Since +: 2.9.0-alpha01 Affects : Kotlin and Java files and test sources Editing @@ -48,17 +49,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.viewmodel.compose.android) # libs.versions.toml [versions] -lifecycle-viewmodel-compose-android = "2.9.0-alpha07" +lifecycle-viewmodel-compose-android = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -70,7 +71,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lifecycle:lifecycle-viewmodel-compose-android](androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html). diff --git a/docs/checks/VisibleForTests.md.html b/docs/checks/VisibleForTests.md.html index ebe40dbd..9b3c8b13 100644 --- a/docs/checks/VisibleForTests.md.html +++ b/docs/checks/VisibleForTests.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/RestrictToDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/RestrictToDetectorTest.kt) -Copyright Year -: 2017 This check looks for accesses from production code (e.g. not tests) where the access would not have been allowed with the intended diff --git a/docs/checks/VulnerableCordovaVersion.md.html b/docs/checks/VulnerableCordovaVersion.md.html index 733ab7c7..58d443b3 100644 --- a/docs/checks/VulnerableCordovaVersion.md.html +++ b/docs/checks/VulnerableCordovaVersion.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.2.0 (September 2016) Affects : Class files and library bytecode Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/CordovaVersionDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/CordovaVersionDetectorTest.kt) -Copyright Year -: 2015 The version of Cordova used in the app is vulnerable to security issues. Please update to the latest Apache Cordova version. diff --git a/docs/checks/VulnerableCryptoAlgorithm.md.html b/docs/checks/VulnerableCryptoAlgorithm.md.html index 33c39ebc..75744a1b 100644 --- a/docs/checks/VulnerableCryptoAlgorithm.md.html +++ b/docs/checks/VulnerableCryptoAlgorithm.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Kotlin and Java files Editing diff --git a/docs/checks/Wakelock.md.html b/docs/checks/Wakelock.md.html index 5520addc..e2ef967e 100644 --- a/docs/checks/Wakelock.md.html +++ b/docs/checks/Wakelock.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/WakelockTimeout.md.html b/docs/checks/WakelockTimeout.md.html index 1ee660de..06f9ea6a 100644 --- a/docs/checks/WakelockTimeout.md.html +++ b/docs/checks/WakelockTimeout.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WakelockDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WakelockDetectorTest.kt) -Copyright Year -: 2012 Wakelocks have two acquire methods: one with a timeout, and one without. You should generally always use the one with a timeout. A typical diff --git a/docs/checks/WatchFaceEditor.md.html b/docs/checks/WatchFaceEditor.md.html index f43f306b..b5bc3825 100644 --- a/docs/checks/WatchFaceEditor.md.html +++ b/docs/checks/WatchFaceEditor.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.0.0 (July 2021) Affects : Manifest files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WatchFaceEditorDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WatchFaceEditorDetectorTest.kt) -Copyright Year -: 2021 Watch face editor activities must be able to launch in the Wear OS companion app activity task in order to work correctly. Thus only diff --git a/docs/checks/WatchFaceForAndroidX.md.html b/docs/checks/WatchFaceForAndroidX.md.html index 80ea1562..afbef8b9 100644 --- a/docs/checks/WatchFaceForAndroidX.md.html +++ b/docs/checks/WatchFaceForAndroidX.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WatchFaceForAndroidXDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WatchFaceForAndroidXDetectorTest.kt) -Copyright Year -: 2021 If the package depends on `androidx.wear:wear-watchface`, and an AndroidX watch face declares the `wearableConfigurationAction` metadata, diff --git a/docs/checks/WeakPrng.md.html b/docs/checks/WeakPrng.md.html index 5505273d..159827c8 100644 --- a/docs/checks/WeakPrng.md.html +++ b/docs/checks/WeakPrng.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [com.android.security.lint:lint](com_android_security_lint_lint.md.html) - +Since +: 1.0.1 Affects : Kotlin and Java files Editing diff --git a/docs/checks/WearBackNavigation.md.html b/docs/checks/WearBackNavigation.md.html index 05e7ed15..88da6b85 100644 --- a/docs/checks/WearBackNavigation.md.html +++ b/docs/checks/WearBackNavigation.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearBackNavigationDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearBackNavigationDetectorTest.kt) -Copyright Year -: 2023 Disabling swipe-to-dismiss is generally not recommended for Wear applications because the user expects to dismiss any screen with a diff --git a/docs/checks/WearMaterialTheme.md.html b/docs/checks/WearMaterialTheme.md.html index 8f5ecdca..27510f44 100644 --- a/docs/checks/WearMaterialTheme.md.html +++ b/docs/checks/WearMaterialTheme.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearMaterialThemeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearMaterialThemeDetectorTest.kt) -Copyright Year -: 2023 Wear projects should use `androidx.wear.compose.material.MaterialTheme` instead of `androidx.compose.material.MaterialTheme` diff --git a/docs/checks/WearPasswordInput.md.html b/docs/checks/WearPasswordInput.md.html index 151f3929..ced65bf0 100644 --- a/docs/checks/WearPasswordInput.md.html +++ b/docs/checks/WearPasswordInput.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files and resource files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearPasswordInputDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearPasswordInputDetectorTest.kt) -Copyright Year -: 2023 Your app must not ask the user to input password directly on the Wear device. diff --git a/docs/checks/WearRecents.md.html b/docs/checks/WearRecents.md.html index 77d2af99..1b150af1 100644 --- a/docs/checks/WearRecents.md.html +++ b/docs/checks/WearRecents.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Kotlin and Java files and manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearRecentsDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearRecentsDetectorTest.kt) -Copyright Year -: 2023 In recents, correctly represent your app's activities, consistent with device implementation. diff --git a/docs/checks/WearSplashScreen.md.html b/docs/checks/WearSplashScreen.md.html index d05830d6..72aa1bac 100644 --- a/docs/checks/WearSplashScreen.md.html +++ b/docs/checks/WearSplashScreen.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.2.0 (November 2023) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearSplashScreenDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearSplashScreenDetectorTest.kt) -Copyright Year -: 2023 If your app implements a custom splash screen or uses a launcher theme, migrate your app to the `SplashScreen` library, available in Jetpack, to diff --git a/docs/checks/WearStandaloneAppFlag.md.html b/docs/checks/WearStandaloneAppFlag.md.html index be2946ea..fcf8e956 100644 --- a/docs/checks/WearStandaloneAppFlag.md.html +++ b/docs/checks/WearStandaloneAppFlag.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearStandaloneAppDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearStandaloneAppDetectorTest.java) -Copyright Year -: 2016 Wearable apps should specify whether they can work standalone, without a phone app. Add a valid meta-data entry for diff --git a/docs/checks/WearableActionDuplicate.md.html b/docs/checks/WearableActionDuplicate.md.html index 10801358..0e606e57 100644 --- a/docs/checks/WearableActionDuplicate.md.html +++ b/docs/checks/WearableActionDuplicate.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.3.0 (September 2022) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearableConfigurationActionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearableConfigurationActionDetectorTest.kt) -Copyright Year -: 2021 If and only if a watch face service defines `wearableConfigurationAction` metadata, with the value diff --git a/docs/checks/WearableBindListener.md.html b/docs/checks/WearableBindListener.md.html index 8d8be49e..ce01c0ac 100644 --- a/docs/checks/WearableBindListener.md.html +++ b/docs/checks/WearableBindListener.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.1.0 (April 2016) Affects : Manifest files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ManifestDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ManifestDetectorTest.kt) -Copyright Year -: 2011 BIND_LISTENER receives all Android Wear events whether the application needs them or not. This can be inefficient and cause applications to diff --git a/docs/checks/WearableConfigurationAction.md.html b/docs/checks/WearableConfigurationAction.md.html index b909a233..0f205518 100644 --- a/docs/checks/WearableConfigurationAction.md.html +++ b/docs/checks/WearableConfigurationAction.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.2.0 (May 2022) Affects : Manifest files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WearableConfigurationActionDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WearableConfigurationActionDetectorTest.kt) -Copyright Year -: 2021 Only when a watch face service defines `wearableConfigurationAction` metadata, with the value `WATCH_FACE_EDITOR`, there should be an diff --git a/docs/checks/WebViewApiAvailability.md.html b/docs/checks/WebViewApiAvailability.md.html index 7ea3885a..758a9ca8 100644 --- a/docs/checks/WebViewApiAvailability.md.html +++ b/docs/checks/WebViewApiAvailability.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.6.0 (February 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WebViewApiAvailabilityDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WebViewApiAvailabilityDetectorTest.kt) -Copyright Year -: 2019 The `androidx.webkit` library is a static library you can add to your Android application allowing you to use new APIs on older platform diff --git a/docs/checks/WebViewClientOnReceivedSslError.md.html b/docs/checks/WebViewClientOnReceivedSslError.md.html index fe12ba3d..0343adc4 100644 --- a/docs/checks/WebViewClientOnReceivedSslError.md.html +++ b/docs/checks/WebViewClientOnReceivedSslError.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 7.1.0 (January 2022) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WebViewClientDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WebViewClientDetectorTest.kt) -Copyright Year -: 2021 This check looks for `onReceivedSslError` implementations that invoke `SslErrorHandler#proceed`. diff --git a/docs/checks/WebViewLayout.md.html b/docs/checks/WebViewLayout.md.html index 5e23af3a..eea67340 100644 --- a/docs/checks/WebViewLayout.md.html +++ b/docs/checks/WebViewLayout.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/WebpUnsupported.md.html b/docs/checks/WebpUnsupported.md.html index cff7560f..d28acaa3 100644 --- a/docs/checks/WebpUnsupported.md.html +++ b/docs/checks/WebpUnsupported.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files, manifest files and resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/IconDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/IconDetectorTest.java) -Copyright Year -: 2011 The WebP format requires Android 4.0 (API 15). Certain features, such as lossless encoding and transparency, requires Android 4.2.1 (API 18; API diff --git a/docs/checks/WeekBasedYear.md.html b/docs/checks/WeekBasedYear.md.html index b825cb13..d64a4d8f 100644 --- a/docs/checks/WeekBasedYear.md.html +++ b/docs/checks/WeekBasedYear.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 4.0.0 (May 2020) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DateFormatDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DateFormatDetectorTest.kt) -Copyright Year -: 2014 The `DateTimeFormatter` pattern `YYYY` returns the *week* based year, not the era-based year. This means that 12/29/2019 will format to 2019, diff --git a/docs/checks/WifiManagerLeak.md.html b/docs/checks/WifiManagerLeak.md.html index fdf209ff..2192b370 100644 --- a/docs/checks/WifiManagerLeak.md.html +++ b/docs/checks/WifiManagerLeak.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ServiceCastDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ServiceCastDetectorTest.kt) -Copyright Year -: 2013 On versions prior to Android N (24), initializing the `WifiManager` via `Context#getSystemService` can cause a memory leak if the context is not diff --git a/docs/checks/WifiManagerPotentialLeak.md.html b/docs/checks/WifiManagerPotentialLeak.md.html index c4cf3f0e..9690c3d7 100644 --- a/docs/checks/WifiManagerPotentialLeak.md.html +++ b/docs/checks/WifiManagerPotentialLeak.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 2.3.0 (March 2017) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ServiceCastDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ServiceCastDetectorTest.kt) -Copyright Year -: 2013 On versions prior to Android N (24), initializing the `WifiManager` via `Context#getSystemService` can cause a memory leak if the context is not diff --git a/docs/checks/WithPluginClasspathUsage.md.html b/docs/checks/WithPluginClasspathUsage.md.html index e15d00dd..a62da1a3 100644 --- a/docs/checks/WithPluginClasspathUsage.md.html +++ b/docs/checks/WithPluginClasspathUsage.md.html @@ -21,12 +21,13 @@ Feedback : https://issuetracker.google.com/issues/new?component=1147525 Min -: Lint 8.0 and 8.1 +: Lint 8.7+ Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) - +Since +: 1.0.0-alpha02 Affects : Kotlin and Java files Editing @@ -50,17 +51,17 @@ ``` // build.gradle.kts -implementation("androidx.lint:lint-gradle:1.0.0-alpha02") +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") // build.gradle -implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lint.gradle) # libs.versions.toml [versions] -lint-gradle = "1.0.0-alpha02" +lint-gradle = "1.0.0-alpha03" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -72,7 +73,7 @@ } ``` -1.0.0-alpha02 is the version this documentation was generated from; +1.0.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). diff --git a/docs/checks/WithTypeWithoutConfigureEach.md.html b/docs/checks/WithTypeWithoutConfigureEach.md.html index 2ae7e557..caf9b688 100644 --- a/docs/checks/WithTypeWithoutConfigureEach.md.html +++ b/docs/checks/WithTypeWithoutConfigureEach.md.html @@ -21,12 +21,13 @@ Feedback : https://issuetracker.google.com/issues/new?component=1147525 Min -: Lint 8.0 and 8.1 +: Lint 8.7+ Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) - +Since +: 1.0.0-alpha02 Affects : Kotlin and Java files Editing @@ -49,17 +50,17 @@ ``` // build.gradle.kts -implementation("androidx.lint:lint-gradle:1.0.0-alpha02") +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") // build.gradle -implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lint.gradle) # libs.versions.toml [versions] -lint-gradle = "1.0.0-alpha02" +lint-gradle = "1.0.0-alpha03" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -71,7 +72,7 @@ } ``` -1.0.0-alpha02 is the version this documentation was generated from; +1.0.0-alpha03 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html). diff --git a/docs/checks/WorkerHasAPublicModifier.md.html b/docs/checks/WorkerHasAPublicModifier.md.html index b8d29d73..873f278e 100644 --- a/docs/checks/WorkerHasAPublicModifier.md.html +++ b/docs/checks/WorkerHasAPublicModifier.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [androidx.work:work-runtime](androidx_work_work-runtime.md.html) - +Since +: 2.4.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/WorldReadableFiles.md.html b/docs/checks/WorldReadableFiles.md.html index 60907aa9..17dc847d 100644 --- a/docs/checks/WorldReadableFiles.md.html +++ b/docs/checks/WorldReadableFiles.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/WorldWriteableFiles.md.html b/docs/checks/WorldWriteableFiles.md.html index 7e7fb4dd..19562297 100644 --- a/docs/checks/WorldWriteableFiles.md.html +++ b/docs/checks/WorldWriteableFiles.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/WrongAnnotationOrder.md.html b/docs/checks/WrongAnnotationOrder.md.html index 0571a198..752d96ca 100644 --- a/docs/checks/WrongAnnotationOrder.md.html +++ b/docs/checks/WrongAnnotationOrder.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files Editing diff --git a/docs/checks/WrongCall.md.html b/docs/checks/WrongCall.md.html index a7794fbb..6e7abd09 100644 --- a/docs/checks/WrongCall.md.html +++ b/docs/checks/WrongCall.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files Editing diff --git a/docs/checks/WrongCase.md.html b/docs/checks/WrongCase.md.html index 3889a977..7b97176e 100644 --- a/docs/checks/WrongCase.md.html +++ b/docs/checks/WrongCase.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/WrongCommentType.md.html b/docs/checks/WrongCommentType.md.html index 2a26729a..9269057e 100644 --- a/docs/checks/WrongCommentType.md.html +++ b/docs/checks/WrongCommentType.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.3.0 (February 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WrongCommentTypeDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WrongCommentTypeDetectorTest.kt) -Copyright Year -: 2023 This check flags any block comments which look like they had been intended to be KDoc or javadoc comments instead. diff --git a/docs/checks/WrongConstant.md.html b/docs/checks/WrongConstant.md.html index 517e2744..45621a6b 100644 --- a/docs/checks/WrongConstant.md.html +++ b/docs/checks/WrongConstant.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/TypedefDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/TypedefDetectorTest.kt) -Copyright Year -: 2017 Ensures that when parameter in a method only allows a specific set of constants, calls obey those rules. diff --git a/docs/checks/WrongConstraintLayoutUsage.md.html b/docs/checks/WrongConstraintLayoutUsage.md.html index 11ec65d8..3bc050f5 100644 --- a/docs/checks/WrongConstraintLayoutUsage.md.html +++ b/docs/checks/WrongConstraintLayoutUsage.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/WrongDrawableName.md.html b/docs/checks/WrongDrawableName.md.html index 3836b7dd..b184d172 100644 --- a/docs/checks/WrongDrawableName.md.html +++ b/docs/checks/WrongDrawableName.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/WrongFolder.md.html b/docs/checks/WrongFolder.md.html index 0bcd4332..0e88a7b2 100644 --- a/docs/checks/WrongFolder.md.html +++ b/docs/checks/WrongFolder.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Resource files Editing diff --git a/docs/checks/WrongGlobalIconColor.md.html b/docs/checks/WrongGlobalIconColor.md.html index 5910c4a0..f4fc3cd1 100644 --- a/docs/checks/WrongGlobalIconColor.md.html +++ b/docs/checks/WrongGlobalIconColor.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.24.0 Affects : Resource files Editing diff --git a/docs/checks/WrongLayoutName.md.html b/docs/checks/WrongLayoutName.md.html index d488c5b2..07cfe707 100644 --- a/docs/checks/WrongLayoutName.md.html +++ b/docs/checks/WrongLayoutName.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/WrongManifestParent.md.html b/docs/checks/WrongManifestParent.md.html index 097554d6..43e9a87b 100644 --- a/docs/checks/WrongManifestParent.md.html +++ b/docs/checks/WrongManifestParent.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Manifest files Editing diff --git a/docs/checks/WrongMenuIdFormat.md.html b/docs/checks/WrongMenuIdFormat.md.html index 8d4a22d7..dbbcf496 100644 --- a/docs/checks/WrongMenuIdFormat.md.html +++ b/docs/checks/WrongMenuIdFormat.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/WrongNavigateRouteType.md.html b/docs/checks/WrongNavigateRouteType.md.html index 488b38a1..1432d2de 100644 --- a/docs/checks/WrongNavigateRouteType.md.html +++ b/docs/checks/WrongNavigateRouteType.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html) - +Since +: 2.8.0 Affects : Kotlin and Java files Editing @@ -152,17 +153,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.9.0-alpha03") +implementation("androidx.navigation:navigation-runtime:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.9.0-alpha03" +navigation-runtime = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -174,7 +175,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/WrongRegion.md.html b/docs/checks/WrongRegion.md.html index 5d563bf3..8cd32d18 100644 --- a/docs/checks/WrongRegion.md.html +++ b/docs/checks/WrongRegion.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 1.1.0 (February 2015) Affects : Resource folders Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/LocaleFolderDetector.java) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/LocaleFolderDetectorTest.kt) -Copyright Year -: 2014 Android uses the letter codes ISO 639-1 for languages, and the letter codes ISO 3166-1 for the region codes. In many cases, the language code diff --git a/docs/checks/WrongRequiresOptIn.md.html b/docs/checks/WrongRequiresOptIn.md.html index 541b7297..cee670dc 100644 --- a/docs/checks/WrongRequiresOptIn.md.html +++ b/docs/checks/WrongRequiresOptIn.md.html @@ -26,7 +26,8 @@ : Lint 8.0 and 8.1 Artifact : [androidx.annotation:annotation-experimental](androidx_annotation_annotation-experimental.md.html) - +Since +: 1.3.1 Affects : Kotlin and Java files Editing diff --git a/docs/checks/WrongResourceImportAlias.md.html b/docs/checks/WrongResourceImportAlias.md.html index e0f8ad0e..95808f5c 100644 --- a/docs/checks/WrongResourceImportAlias.md.html +++ b/docs/checks/WrongResourceImportAlias.md.html @@ -28,7 +28,8 @@ : Lint 8.7+ Artifact : [com.slack.lint:slack-lint-checks](com_slack_lint_slack-lint-checks.md.html) - +Since +: 0.1.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/WrongSdkInt.md.html b/docs/checks/WrongSdkInt.md.html index ae54474f..40c1022c 100644 --- a/docs/checks/WrongSdkInt.md.html +++ b/docs/checks/WrongSdkInt.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 8.9.0-alpha01 (November 2024) Affects : Kotlin and Java files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ApiDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ApiDetectorTest.java) -Copyright Year -: 2012 The `SDK_INT` constant can be used to check what the current API level is. The `SDK_INT_FULL` constant also contains this information, but it diff --git a/docs/checks/WrongStartDestinationType-2.md.html b/docs/checks/WrongStartDestinationType-2.md.html index 47e8b060..84fff1f4 100644 --- a/docs/checks/WrongStartDestinationType-2.md.html +++ b/docs/checks/WrongStartDestinationType-2.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html) - +Since +: 2.8.0 Affects : Kotlin and Java files Editing @@ -141,8 +142,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class. (this issue) -* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.9.0-alpha03](WrongStartDestinationType.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-common:2.9.0-alpha03](WrongStartDestinationType-3.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.9.0-alpha04](WrongStartDestinationType.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-common:2.9.0-alpha04](WrongStartDestinationType-3.md.html) (##) Including @@ -153,17 +154,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.9.0-alpha03") +implementation("androidx.navigation:navigation-runtime:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.9.0-alpha03" +navigation-runtime = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -175,7 +176,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-runtime](androidx_navigation_navigation-runtime.md.html). diff --git a/docs/checks/WrongStartDestinationType-3.md.html b/docs/checks/WrongStartDestinationType-3.md.html index 953476db..b25d86d8 100644 --- a/docs/checks/WrongStartDestinationType-3.md.html +++ b/docs/checks/WrongStartDestinationType-3.md.html @@ -23,10 +23,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html) - +Since +: 2.8.0 Affects : Kotlin and Java files Editing @@ -141,8 +142,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class. (this issue) -* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.9.0-alpha03](WrongStartDestinationType.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.9.0-alpha03](WrongStartDestinationType-2.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-compose:2.9.0-alpha04](WrongStartDestinationType.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.9.0-alpha04](WrongStartDestinationType-2.md.html) (##) Including @@ -153,17 +154,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.9.0-alpha03") +implementation("androidx.navigation:navigation-common:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-common:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-common:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.9.0-alpha03" +navigation-common = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -175,7 +176,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-common](androidx_navigation_navigation-common.md.html). diff --git a/docs/checks/WrongStartDestinationType.md.html b/docs/checks/WrongStartDestinationType.md.html index bb50a9d8..53c4fbf5 100644 --- a/docs/checks/WrongStartDestinationType.md.html +++ b/docs/checks/WrongStartDestinationType.md.html @@ -21,10 +21,11 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact : [androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html) - +Since +: 2.8.0 Affects : Kotlin and Java files Editing @@ -139,8 +140,8 @@ id's must be unique, so you cannot combine these libraries. Also defined in: * WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class. (this issue) -* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.9.0-alpha03](WrongStartDestinationType-2.md.html) -* [WrongStartDestinationType from androidx.navigation:navigation-common:2.9.0-alpha03](WrongStartDestinationType-3.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-runtime:2.9.0-alpha04](WrongStartDestinationType-2.md.html) +* [WrongStartDestinationType from androidx.navigation:navigation-common:2.9.0-alpha04](WrongStartDestinationType-3.md.html) (##) Including @@ -151,17 +152,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.9.0-alpha03") +implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.9.0-alpha03" +navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -173,7 +174,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. [Additional details about androidx.navigation:navigation-compose](androidx_navigation_navigation-compose.md.html). diff --git a/docs/checks/WrongTestMethodName.md.html b/docs/checks/WrongTestMethodName.md.html index 96d4ebce..a32d1582 100644 --- a/docs/checks/WrongTestMethodName.md.html +++ b/docs/checks/WrongTestMethodName.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Kotlin and Java files and test sources Editing diff --git a/docs/checks/WrongThread.md.html b/docs/checks/WrongThread.md.html index 3cc2feef..288b6e2a 100644 --- a/docs/checks/WrongThread.md.html +++ b/docs/checks/WrongThread.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.1.0 (March 2018) Affects : Kotlin and Java files Editing @@ -28,8 +30,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/ThreadDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/ThreadDetectorTest.kt) -Copyright Year -: 2017 Ensures that a method which expects to be called on a specific thread, is actually called from that thread. For example, calls on methods in diff --git a/docs/checks/WrongThreadInterprocedural.md.html b/docs/checks/WrongThreadInterprocedural.md.html index e18b7b42..6f1a1ec7 100644 --- a/docs/checks/WrongThreadInterprocedural.md.html +++ b/docs/checks/WrongThreadInterprocedural.md.html @@ -20,6 +20,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.0.0 (October 2017) Affects : Kotlin and Java files Editing @@ -30,8 +32,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/WrongThreadInterproceduralDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/WrongThreadInterproceduralDetectorTest.kt) -Copyright Year -: 2017 Searches for interprocedural call paths that violate thread annotations in the program. Tracks the flow of instantiated types and lambda diff --git a/docs/checks/WrongViewCast.md.html b/docs/checks/WrongViewCast.md.html index f80f9429..3b855257 100644 --- a/docs/checks/WrongViewCast.md.html +++ b/docs/checks/WrongViewCast.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: Initial Affects : Kotlin and Java files and resource files Editing diff --git a/docs/checks/WrongViewIdFormat.md.html b/docs/checks/WrongViewIdFormat.md.html index 100192d1..b7b744c3 100644 --- a/docs/checks/WrongViewIdFormat.md.html +++ b/docs/checks/WrongViewIdFormat.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/XmlEscapeNeeded.md.html b/docs/checks/XmlEscapeNeeded.md.html index a5e4b0cc..a4f76117 100644 --- a/docs/checks/XmlEscapeNeeded.md.html +++ b/docs/checks/XmlEscapeNeeded.md.html @@ -18,6 +18,8 @@ : Android Open Source Project Feedback : https://issuetracker.google.com/issues/new?component=192708 +Since +: 3.5.0 (August 2019) Affects : Resource files Editing @@ -26,8 +28,6 @@ : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/DataBindingDetector.kt) Tests : [Source Code](https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/libs/lint-tests/src/test/java/com/android/tools/lint/checks/DataBindingDetectorTest.kt) -Copyright Year -: 2019 When a string contains characters that have special usage in XML, you must escape the characters. diff --git a/docs/checks/XmlSpacing.md.html b/docs/checks/XmlSpacing.md.html index 15a8b05e..f69faee4 100644 --- a/docs/checks/XmlSpacing.md.html +++ b/docs/checks/XmlSpacing.md.html @@ -24,7 +24,8 @@ : Lint 8.0 and 8.1 Artifact : [com.vanniktech:lint-rules-android](com_vanniktech_lint-rules-android.md.html) - +Since +: 0.6.0 Affects : Resource files Editing diff --git a/docs/checks/androidx_activity_activity-compose.md.html b/docs/checks/androidx_activity_activity-compose.md.html index eea72b76..2bfd6906 100644 --- a/docs/checks/androidx_activity_activity-compose.md.html +++ b/docs/checks/androidx_activity_activity-compose.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.activity:activity-compose:1.10.0-beta01 +: androidx.activity:activity-compose:1.10.0-rc01 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity-compose:1.10.0-beta01") +implementation("androidx.activity:activity-compose:1.10.0-rc01") // build.gradle -implementation 'androidx.activity:activity-compose:1.10.0-beta01' +implementation 'androidx.activity:activity-compose:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity.compose) # libs.versions.toml [versions] -activity-compose = "1.10.0-beta01" +activity-compose = "1.10.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -57,7 +57,7 @@ } ``` -1.10.0-beta01 is the version this documentation was generated from; +1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -72,6 +72,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.10.0-rc01|2024/12/11| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-beta01|2024/11/13| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha03|2024/10/30| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha02|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_activity_activity.md.html b/docs/checks/androidx_activity_activity.md.html index 22916062..dfe8ece9 100644 --- a/docs/checks/androidx_activity_activity.md.html +++ b/docs/checks/androidx_activity_activity.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.activity:activity:1.10.0-beta01 +: androidx.activity:activity:1.10.0-rc01 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.activity:activity:1.10.0-beta01") +implementation("androidx.activity:activity:1.10.0-rc01") // build.gradle -implementation 'androidx.activity:activity:1.10.0-beta01' +implementation 'androidx.activity:activity:1.10.0-rc01' // build.gradle.kts with version catalogs: implementation(libs.activity) # libs.versions.toml [versions] -activity = "1.10.0-beta01" +activity = "1.10.0-rc01" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -57,7 +57,7 @@ } ``` -1.10.0-beta01 is the version this documentation was generated from; +1.10.0-rc01 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -72,6 +72,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.10.0-rc01|2024/12/11| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-beta01|2024/11/13| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha03|2024/10/30| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.10.0-alpha02|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_animation_animation-android.md.html b/docs/checks/androidx_compose_animation_animation-android.md.html index 64036727..f5c51b9e 100644 --- a/docs/checks/androidx_compose_animation_animation-android.md.html +++ b/docs/checks/androidx_compose_animation_animation-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.animation:animation-android:1.8.0-alpha06 +: androidx.compose.animation:animation-android:1.8.0-alpha07 (##) Included Issues @@ -37,17 +37,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.android) # libs.versions.toml [versions] -animation-android = "1.8.0-alpha06" +animation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -59,11 +59,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-lint:1.8.0-alpha07`. (##) Changes @@ -80,12 +80,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 5| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 5| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 5| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 5| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 5| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 5| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_animation_animation-core-android.md.html b/docs/checks/androidx_compose_animation_animation-core-android.md.html index 239be894..d33f1382 100644 --- a/docs/checks/androidx_compose_animation_animation-core-android.md.html +++ b/docs/checks/androidx_compose_animation_animation-core-android.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.animation:animation-core-android:1.8.0-alpha06 +: androidx.compose.animation:animation-core-android:1.8.0-alpha07 (##) Included Issues @@ -36,17 +36,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha06") +implementation("androidx.compose.animation:animation-core-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha06' +implementation 'androidx.compose.animation:animation-core-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.animation.core.android) # libs.versions.toml [versions] -animation-core-android = "1.8.0-alpha06" +animation-core-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -58,11 +58,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha06`. +You can also use `androidx.compose.animation:animation-core-lint:1.8.0-alpha07`. (##) Changes @@ -77,12 +77,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 3| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 3| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 3| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 3| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 3| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 3| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 3| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 3| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_foundation_foundation-android.md.html b/docs/checks/androidx_compose_foundation_foundation-android.md.html index a2598273..993c5395 100644 --- a/docs/checks/androidx_compose_foundation_foundation-android.md.html +++ b/docs/checks/androidx_compose_foundation_foundation-android.md.html @@ -19,7 +19,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.foundation:foundation-android:1.8.0-alpha06 +: androidx.compose.foundation:foundation-android:1.8.0-alpha07 (##) Included Issues @@ -38,17 +38,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha06") +implementation("androidx.compose.foundation:foundation-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha06' +implementation 'androidx.compose.foundation:foundation-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.foundation.android) # libs.versions.toml [versions] -foundation-android = "1.8.0-alpha06" +foundation-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -60,11 +60,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha06`. +You can also use `androidx.compose.foundation:foundation-lint:1.8.0-alpha07`. (##) Changes @@ -80,12 +80,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 4| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 4| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 4| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 4| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 4| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 4| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 4| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_material3_material3-android.md.html b/docs/checks/androidx_compose_material3_material3-android.md.html index 474d586a..9a05856a 100644 --- a/docs/checks/androidx_compose_material3_material3-android.md.html +++ b/docs/checks/androidx_compose_material3_material3-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.material3:material3-android:1.4.0-alpha04 +: androidx.compose.material3:material3-android:1.4.0-alpha05 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material3:material3-android:1.4.0-alpha04") +implementation("androidx.compose.material3:material3-android:1.4.0-alpha05") // build.gradle -implementation 'androidx.compose.material3:material3-android:1.4.0-alpha04' +implementation 'androidx.compose.material3:material3-android:1.4.0-alpha05' // build.gradle.kts with version catalogs: implementation(libs.material3.android) # libs.versions.toml [versions] -material3-android = "1.4.0-alpha04" +material3-android = "1.4.0-alpha05" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -56,11 +56,11 @@ } ``` -1.4.0-alpha04 is the version this documentation was generated from; +1.4.0-alpha05 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.material3:material3-lint:1.4.0-alpha04`. +You can also use `androidx.compose.material3:material3-lint:1.4.0-alpha05`. (##) Changes @@ -74,6 +74,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.4.0-alpha05|2024/12/12| 2| Yes| 8.7+|8.0 and 8.1| | 1.4.0-alpha04|2024/11/13| 2| Yes| 8.7+|8.0 and 8.1| | 1.4.0-alpha03|2024/10/30| 2| Yes| 8.7+|8.0 and 8.1| | 1.4.0-alpha02|2024/10/16| 2| Yes| 8.7+|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_material_material-android.md.html b/docs/checks/androidx_compose_material_material-android.md.html index 540af325..cad17136 100644 --- a/docs/checks/androidx_compose_material_material-android.md.html +++ b/docs/checks/androidx_compose_material_material-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.material:material-android:1.8.0-alpha06 +: androidx.compose.material:material-android:1.8.0-alpha07 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.material:material-android:1.8.0-alpha06") +implementation("androidx.compose.material:material-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.material:material-android:1.8.0-alpha06' +implementation 'androidx.compose.material:material-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.material.android) # libs.versions.toml [versions] -material-android = "1.8.0-alpha06" +material-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -56,11 +56,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.material:material-lint:1.8.0-alpha06`. +You can also use `androidx.compose.material:material-lint:1.8.0-alpha07`. (##) Changes @@ -74,12 +74,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_runtime_runtime-android.md.html b/docs/checks/androidx_compose_runtime_runtime-android.md.html index a90cdc01..9c6ee2c9 100644 --- a/docs/checks/androidx_compose_runtime_runtime-android.md.html +++ b/docs/checks/androidx_compose_runtime_runtime-android.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.runtime:runtime-android:1.8.0-alpha06 +: androidx.compose.runtime:runtime-android:1.8.0-alpha07 (##) Included Issues @@ -47,17 +47,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.android) # libs.versions.toml [versions] -runtime-android = "1.8.0-alpha06" +runtime-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -69,11 +69,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-lint:1.8.0-alpha07`. (##) Changes @@ -92,12 +92,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 14| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 14| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 14| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html b/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html index 65aa5edd..7d2c466a 100644 --- a/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html +++ b/docs/checks/androidx_compose_runtime_runtime-saveable-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha06 +: androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha07 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha06") +implementation("androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha06' +implementation 'androidx.compose.runtime:runtime-saveable-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.runtime.saveable.android) # libs.versions.toml [versions] -runtime-saveable-android = "1.8.0-alpha06" +runtime-saveable-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -55,11 +55,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.runtime:runtime-saveable-lint:1.8.0-alpha06`. +You can also use `androidx.compose.runtime:runtime-saveable-lint:1.8.0-alpha07`. (##) Changes @@ -72,12 +72,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_ui_ui-android.md.html b/docs/checks/androidx_compose_ui_ui-android.md.html index 1421c89b..3ba18ab5 100644 --- a/docs/checks/androidx_compose_ui_ui-android.md.html +++ b/docs/checks/androidx_compose_ui_ui-android.md.html @@ -18,7 +18,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.compose.ui:ui-android:1.8.0-alpha06 +: androidx.compose.ui:ui-android:1.8.0-alpha07 (##) Included Issues @@ -43,17 +43,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.android) # libs.versions.toml [versions] -ui-android = "1.8.0-alpha06" +ui-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -65,11 +65,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-lint:1.8.0-alpha07`. (##) Changes @@ -90,12 +90,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 10| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 10| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 10| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 10| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 10| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 10| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 10| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 10| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 10| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 10| No[^1]| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 10| No[^1]| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_ui_ui-graphics-android.md.html b/docs/checks/androidx_compose_ui_ui-graphics-android.md.html index 62d435f1..e3bc6352 100644 --- a/docs/checks/androidx_compose_ui_ui-graphics-android.md.html +++ b/docs/checks/androidx_compose_ui_ui-graphics-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.ui:ui-graphics-android:1.8.0-alpha06 +: androidx.compose.ui:ui-graphics-android:1.8.0-alpha07 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-graphics-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-graphics-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.graphics.android) # libs.versions.toml [versions] -ui-graphics-android = "1.8.0-alpha06" +ui-graphics-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -56,11 +56,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-graphics-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-graphics-lint:1.8.0-alpha07`. (##) Changes @@ -74,12 +74,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 2| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 2| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 2| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 2| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_ui_ui-test-manifest.md.html b/docs/checks/androidx_compose_ui_ui-test-manifest.md.html index 696bc444..d4a16e49 100644 --- a/docs/checks/androidx_compose_ui_ui-test-manifest.md.html +++ b/docs/checks/androidx_compose_ui_ui-test-manifest.md.html @@ -19,7 +19,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.ui:ui-test-manifest:1.8.0-alpha06 +: androidx.compose.ui:ui-test-manifest:1.8.0-alpha07 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-test-manifest:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-test-manifest:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-test-manifest:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-test-manifest:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.test.manifest) # libs.versions.toml [versions] -ui-test-manifest = "1.8.0-alpha06" +ui-test-manifest = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -57,11 +57,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-test-manifest-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-test-manifest-lint:1.8.0-alpha07`. (##) Changes @@ -74,12 +74,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha06|2024/11/13| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha05|2024/10/30| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha04|2024/10/16| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha03|2024/10/02| 1| Yes| 8.7+|8.0 and 8.1| | 1.8.0-alpha02|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_compose_ui_ui-text-android.md.html b/docs/checks/androidx_compose_ui_ui-text-android.md.html index 9c0894b3..f2e1eff0 100644 --- a/docs/checks/androidx_compose_ui_ui-text-android.md.html +++ b/docs/checks/androidx_compose_ui_ui-text-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.compose.ui:ui-text-android:1.8.0-alpha06 +: androidx.compose.ui:ui-text-android:1.8.0-alpha07 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.compose.ui:ui-text-android:1.8.0-alpha06") +implementation("androidx.compose.ui:ui-text-android:1.8.0-alpha07") // build.gradle -implementation 'androidx.compose.ui:ui-text-android:1.8.0-alpha06' +implementation 'androidx.compose.ui:ui-text-android:1.8.0-alpha07' // build.gradle.kts with version catalogs: implementation(libs.ui.text.android) # libs.versions.toml [versions] -ui-text-android = "1.8.0-alpha06" +ui-text-android = "1.8.0-alpha07" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -55,11 +55,11 @@ } ``` -1.8.0-alpha06 is the version this documentation was generated from; +1.8.0-alpha07 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. -You can also use `androidx.compose.ui:ui-text-lint:1.8.0-alpha06`. +You can also use `androidx.compose.ui:ui-text-lint:1.8.0-alpha07`. (##) Changes @@ -72,12 +72,14 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.8.0-alpha07|2024/12/11| 1| Yes| 8.7+| 8.7+| | 1.8.0-alpha06|2024/11/13| 1| Yes| 8.7+| 8.7+| | 1.8.0-alpha05|2024/10/30| 1| Yes| 8.7+| 8.7+| | 1.8.0-alpha04|2024/10/16| 1| Yes| 8.7+| 8.7+| | 1.8.0-alpha03|2024/10/02| 1| Yes| 8.7+| 8.7+| | 1.8.0-alpha02|2024/09/18| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.8.0-alpha01|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1| +| 1.7.6|2024/12/11| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.5|2024/10/30| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.4|2024/10/16| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 1.7.3|2024/10/02| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html b/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html index 0bc818dd..acd5906f 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-livedata-core.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.0 and 8.1 Artifact -: androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07 +: androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha08 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.livedata.core) # libs.versions.toml [versions] -lifecycle-livedata-core = "2.9.0-alpha07" +lifecycle-livedata-core = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -55,7 +55,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -68,6 +68,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha08|2024/12/11| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha07|2024/11/13| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha06|2024/10/30| 1| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha05|2024/10/16| 1| Yes| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html b/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html index 31c17dd4..61df67d5 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07 +: androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08 (##) Included Issues @@ -34,17 +34,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.android) # libs.versions.toml [versions] -lifecycle-runtime-android = "2.9.0-alpha07" +lifecycle-runtime-android = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -56,7 +56,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -70,6 +70,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha08|2024/12/11| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha07|2024/11/13| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha06|2024/10/30| 2| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha05|2024/10/16| 2| Yes| 8.7+|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html b/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html index 018548af..5ee8d6b2 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-runtime-testing.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha07 +: androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha08 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-runtime-testing:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.runtime.testing) # libs.versions.toml [versions] -lifecycle-runtime-testing = "2.9.0-alpha07" +lifecycle-runtime-testing = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -55,7 +55,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -68,6 +68,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha08|2024/12/11| 1| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha07|2024/11/13| 1| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha06|2024/10/30| 1| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha05|2024/10/16| 1| Yes| 8.7+|8.0 and 8.1| diff --git a/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html b/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html index fef451e1..c2ae80d5 100644 --- a/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html +++ b/docs/checks/androidx_lifecycle_lifecycle-viewmodel-compose-android.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha07 +: androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha08 (##) Included Issues @@ -33,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha07") +implementation("androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha08") // build.gradle -implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha07' +implementation 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.0-alpha08' // build.gradle.kts with version catalogs: implementation(libs.lifecycle.viewmodel.compose.android) # libs.versions.toml [versions] -lifecycle-viewmodel-compose-android = "2.9.0-alpha07" +lifecycle-viewmodel-compose-android = "2.9.0-alpha08" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -55,7 +55,7 @@ } ``` -2.9.0-alpha07 is the version this documentation was generated from; +2.9.0-alpha08 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -69,6 +69,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha08|2024/12/11| 1| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha07|2024/11/13| 1| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha06|2024/10/30| 1| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha05|2024/10/16| 1| Yes| 8.7+|8.0 and 8.1| diff --git a/docs/checks/androidx_lint_lint-gradle.md.html b/docs/checks/androidx_lint_lint-gradle.md.html index 15f8e447..5d800b82 100644 --- a/docs/checks/androidx_lint_lint-gradle.md.html +++ b/docs/checks/androidx_lint_lint-gradle.md.html @@ -7,11 +7,11 @@ Feedback : https://issuetracker.google.com/issues/new?component=1147525 Min -: Lint 8.0 and 8.1 +: Lint 8.7+ Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact -: androidx.lint:lint-gradle:1.0.0-alpha02 +: androidx.lint:lint-gradle:1.0.0-alpha03 (##) Included Issues @@ -19,6 +19,7 @@ |--------------------------------------------------------------------|---------------------------------------------------------------| |[EagerGradleConfiguration](EagerGradleConfiguration.md.html) |Avoid using eager task APIs | |[GradleProjectIsolation](GradleProjectIsolation.md.html) |Avoid using APIs that are not project isolation safe | +|[FilePropertyDetector](FilePropertyDetector.md.html) |Avoid using Property | |[InternalGradleApiUsage](InternalGradleApiUsage.md.html) |Avoid using internal Gradle APIs | |[InternalAgpApiUsage](InternalAgpApiUsage.md.html) |Avoid using internal Android Gradle Plugin APIs | |[WithPluginClasspathUsage](WithPluginClasspathUsage.md.html) |Flags usage of GradleRunner#withPluginClasspath | @@ -32,17 +33,17 @@ ``` // build.gradle.kts -implementation("androidx.lint:lint-gradle:1.0.0-alpha02") +implementation("androidx.lint:lint-gradle:1.0.0-alpha03") // build.gradle -implementation 'androidx.lint:lint-gradle:1.0.0-alpha02' +implementation 'androidx.lint:lint-gradle:1.0.0-alpha03' // build.gradle.kts with version catalogs: implementation(libs.lint.gradle) # libs.versions.toml [versions] -lint-gradle = "1.0.0-alpha02" +lint-gradle = "1.0.0-alpha03" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -54,8 +55,23 @@ } ``` -1.0.0-alpha02 is the version this documentation was generated from; +1.0.0-alpha03 is the version this documentation was generated from; there may be newer versions available. +(##) Changes + +* 1.0.0-alpha02: First version includes EagerGradleConfiguration, + GradleProjectIsolation, InternalAgpApiUsage, InternalGradleApiUsage, + WithPluginClasspathUsage, WithTypeWithoutConfigureEach. +* 1.0.0-alpha03: Adds FilePropertyDetector. + +(##) Version Compatibility + +There are multiple older versions available of this library: + +| Version | Date | Issues | Compatible | Compiled | Requires | +|-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.0.0-alpha03| | 7| Yes| 8.7+| 8.7+| +| 1.0.0-alpha02| | 6| Yes| 8.0 and 8.1|8.0 and 8.1| \ No newline at end of file diff --git a/docs/checks/androidx_navigation_navigation-common.md.html b/docs/checks/androidx_navigation_navigation-common.md.html index 998e0ace..a4a7d4ee 100644 --- a/docs/checks/androidx_navigation_navigation-common.md.html +++ b/docs/checks/androidx_navigation_navigation-common.md.html @@ -15,9 +15,9 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact -: androidx.navigation:navigation-common:2.9.0-alpha03 +: androidx.navigation:navigation-common:2.9.0-alpha04 (##) Included Issues @@ -36,17 +36,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-common:2.9.0-alpha03") +implementation("androidx.navigation:navigation-common:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-common:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-common:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.common) # libs.versions.toml [versions] -navigation-common = "2.9.0-alpha03" +navigation-common = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -58,7 +58,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -73,9 +73,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha04|2024/12/11| 4| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha03|2024/11/13| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha02|2024/10/30| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/10/16| 4| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.5|2024/12/11| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/11/13| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/10/16| 4| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/10/02| 2| No[^1]| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_navigation_navigation-compose.md.html b/docs/checks/androidx_navigation_navigation-compose.md.html index df4840f0..dfbb80db 100644 --- a/docs/checks/androidx_navigation_navigation-compose.md.html +++ b/docs/checks/androidx_navigation_navigation-compose.md.html @@ -13,9 +13,9 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact -: androidx.navigation:navigation-compose:2.9.0-alpha03 +: androidx.navigation:navigation-compose:2.9.0-alpha04 (##) Included Issues @@ -36,17 +36,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-compose:2.9.0-alpha03") +implementation("androidx.navigation:navigation-compose:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-compose:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-compose:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.compose) # libs.versions.toml [versions] -navigation-compose = "2.9.0-alpha03" +navigation-compose = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -58,7 +58,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -74,9 +74,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha04|2024/12/11| 6| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha03|2024/11/13| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha02|2024/10/30| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/10/16| 6| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.5|2024/12/11| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/11/13| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/10/16| 6| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/10/02| 4| No[^1]| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_navigation_navigation-runtime.md.html b/docs/checks/androidx_navigation_navigation-runtime.md.html index 6011dbda..ce42b763 100644 --- a/docs/checks/androidx_navigation_navigation-runtime.md.html +++ b/docs/checks/androidx_navigation_navigation-runtime.md.html @@ -15,9 +15,9 @@ Min : Lint 8.0 and 8.1 Compiled -: Lint 8.0 and 8.1 +: Lint 8.7+ Artifact -: androidx.navigation:navigation-runtime:2.9.0-alpha03 +: androidx.navigation:navigation-runtime:2.9.0-alpha04 (##) Included Issues @@ -37,17 +37,17 @@ ``` // build.gradle.kts -implementation("androidx.navigation:navigation-runtime:2.9.0-alpha03") +implementation("androidx.navigation:navigation-runtime:2.9.0-alpha04") // build.gradle -implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha03' +implementation 'androidx.navigation:navigation-runtime:2.9.0-alpha04' // build.gradle.kts with version catalogs: implementation(libs.navigation.runtime) # libs.versions.toml [versions] -navigation-runtime = "2.9.0-alpha03" +navigation-runtime = "2.9.0-alpha04" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -59,7 +59,7 @@ } ``` -2.9.0-alpha03 is the version this documentation was generated from; +2.9.0-alpha04 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -74,9 +74,11 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.9.0-alpha04|2024/12/11| 5| Yes| 8.7+|8.0 and 8.1| | 2.9.0-alpha03|2024/11/13| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha02|2024/10/30| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.9.0-alpha01|2024/10/16| 5| Yes| 8.0 and 8.1|8.0 and 8.1| +| 2.8.5|2024/12/11| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.4|2024/11/13| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.3|2024/10/16| 5| Yes| 8.0 and 8.1|8.0 and 8.1| | 2.8.2|2024/10/02| 3| No[^1]| 8.0 and 8.1|8.0 and 8.1| diff --git a/docs/checks/androidx_wear_protolayout_protolayout.md.html b/docs/checks/androidx_wear_protolayout_protolayout.md.html index c0845c29..52a62a9b 100644 --- a/docs/checks/androidx_wear_protolayout_protolayout.md.html +++ b/docs/checks/androidx_wear_protolayout_protolayout.md.html @@ -17,7 +17,7 @@ Compiled : Lint 8.7+ Artifact -: androidx.wear.protolayout:protolayout:1.3.0-alpha04 +: androidx.wear.protolayout:protolayout:1.3.0-alpha05 (##) Included Issues @@ -35,17 +35,17 @@ ``` // build.gradle.kts -implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha04") +implementation("androidx.wear.protolayout:protolayout:1.3.0-alpha05") // build.gradle -implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha04' +implementation 'androidx.wear.protolayout:protolayout:1.3.0-alpha05' // build.gradle.kts with version catalogs: implementation(libs.protolayout) # libs.versions.toml [versions] -protolayout = "1.3.0-alpha04" +protolayout = "1.3.0-alpha05" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -57,14 +57,14 @@ } ``` -1.3.0-alpha04 is the version this documentation was generated from; +1.3.0-alpha05 is the version this documentation was generated from; there may be newer versions available. NOTE: These lint checks are **also** made available separate from the main library. Use one of the following artifacts: -* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha04` -* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha04` +* `androidx.wear.protolayout:protolayout-expression:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material3:1.3.0-alpha05` +* `androidx.wear.protolayout:protolayout-material:1.3.0-alpha05` (##) Changes @@ -79,6 +79,7 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 1.3.0-alpha05|2024/12/11| 3| Yes| 8.7+| 8.7+| | 1.3.0-alpha04|2024/11/13| 3| Yes| 8.7+| 8.7+| | 1.3.0-alpha03|2024/10/30| 3| Yes| 8.7+| 8.7+| | 1.3.0-alpha02|2024/10/16| 3| Yes| 8.7+| 8.7+| diff --git a/docs/checks/categories.md.html b/docs/checks/categories.md.html index e63885ad..3be3ef1e 100644 --- a/docs/checks/categories.md.html +++ b/docs/checks/categories.md.html @@ -3,7 +3,7 @@ Order: [Alphabetical](index.md.html) | By category | [By vendor](vendors.md.html) | [By severity](severity.md.html) | [By year](year.md.html) | [Libraries](libraries.md.html) -* Correctness (529) +* Correctness (535) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) @@ -17,6 +17,7 @@ - [AppCompatResource: Menu namespace](AppCompatResource.md.html) - [AppIndexingService: App Indexing Background Services](AppIndexingService.md.html) - [AppLinkSplitToWebAndCustom: Android App links should only use http(s) schemes](AppLinkSplitToWebAndCustom.md.html) + - [AppLinkUriRelativeFilterGroupError: URI relative filter group invalid](AppLinkUriRelativeFilterGroupError.md.html) - [AppLinkUrlError: URI invalid](AppLinkUrlError.md.html) - [AppLinkWarning: App Link warning](AppLinkWarning.md.html) - [AppLinksAutoVerify: App Links Auto Verification Failure](AppLinksAutoVerify.md.html) @@ -119,6 +120,7 @@ - [ExtraText: Extraneous text in resource files](ExtraText.md.html) - [FieldSiteTargetOnQualifierAnnotation: Redundant 'field:' used for Dagger qualifier annotation](FieldSiteTargetOnQualifierAnnotation.md.html) - [FileEndsWithExt: File endsWith on file extensions](FileEndsWithExt.md.html) + - [FilePropertyDetector: Avoid using Property](FilePropertyDetector.md.html) - [FindViewByIdCast: Add Explicit Cast](FindViewByIdCast.md.html) - [FlowOperatorInvokedInComposition: Flow operator functions should not be invoked within composition](FlowOperatorInvokedInComposition.md.html) - [FontValidation: Validation of font files](FontValidation.md.html) @@ -244,6 +246,7 @@ - [MissingPermission: Missing Permissions](MissingPermission.md.html) - [MissingPrefix: Missing Android XML namespace](MissingPrefix.md.html) - [MissingResourceImportAlias: Missing import alias for R class](MissingResourceImportAlias.md.html) + - [MissingResourcesProperties: Missing resources.properties file](MissingResourcesProperties.md.html) - [MissingScrollbars: Scroll views should declare a scrollbar](MissingScrollbars.md.html) - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation.md.html) - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation-2.md.html) @@ -318,6 +321,7 @@ - [NewApi: Calling new methods on older versions](NewApi.md.html) - [NewerVersionAvailable: Newer Library Versions Available](NewerVersionAvailable.md.html) - [NfcTechWhitespace: Whitespace in NFC tech lists](NfcTechWhitespace.md.html) + - [NioDesugaring: Unsupported `java.nio` operations](NioDesugaring.md.html) - [NoCollectCallFound: You must call collect on the given progress flow when using PredictiveBackHandler](NoCollectCallFound.md.html) - [NoOp: NoOp Code](NoOp.md.html) - [NonConstantResourceId: Checks use of resource IDs in places requiring constants](NonConstantResourceId.md.html) @@ -342,6 +346,7 @@ - [PermissionImpliesUnsupportedHardware: Permission Implies Unsupported Hardware](PermissionImpliesUnsupportedHardware.md.html) - [PictureInPictureIssue: Picture In Picture best practices not followed](PictureInPictureIssue.md.html) - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) + - [PrivacySandboxBlockedCall: Call is blocked in the Privacy Sandbox](PrivacySandboxBlockedCall.md.html) - [PrivateApi: Using Private APIs](PrivateApi.md.html) - [PrivateResource: Using private resources](PrivateResource.md.html) - [ProduceStateDoesNotAssignValue: produceState calls should assign `value` inside the producer lambda](ProduceStateDoesNotAssignValue.md.html) @@ -479,6 +484,7 @@ - [UseCompatTextViewDrawableXml: Compat compound drawable attributes should be used on `TextView`](UseCompatTextViewDrawableXml.md.html) - [UseGetLayoutInflater: Use getLayoutInflater() to get the LayoutInflater instead of calling LayoutInflater.from(Context)](UseGetLayoutInflater.md.html) - [UseRequireInsteadOfGet: Use the 'require_____()' API rather than 'get____()' API for more descriptive error messages when it's null](UseRequireInsteadOfGet.md.html) + - [UseRequiresApi: Use `@RequiresApi` instead of `@TargetApi`](UseRequiresApi.md.html) - [UseRxSetProgress2: `setProgress` is deprecated. Use `setCompletableProgress` instead.](UseRxSetProgress2.md.html) - [UseSdkSuppress: Using `@SdkSuppress` instead of `@RequiresApi`](UseSdkSuppress.md.html) - [UseSupportActionBar: Should not call `Activity.setActionBar` if you extend `AppCompatActivity`](UseSupportActionBar.md.html) @@ -567,7 +573,7 @@ - [PermissionImpliesUnsupportedChromeOsHardware: Permission Implies Unsupported Chrome OS Hardware](PermissionImpliesUnsupportedChromeOsHardware.md.html) - [UnsupportedChromeOsHardware: Unsupported Chrome OS Hardware Feature](UnsupportedChromeOsHardware.md.html) -* Security (80) +* Security (81) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) - [AddJavascriptInterface: `addJavascriptInterface` Called](AddJavascriptInterface.md.html) @@ -609,6 +615,7 @@ - [MutableImplicitPendingIntent: Mutable Implicit PendingIntent is disallowed](MutableImplicitPendingIntent.md.html) - [PackagedPrivateKey: Packaged private key](PackagedPrivateKey.md.html) - [PermissionNamingConvention: Permission name does not follow recommended convention](PermissionNamingConvention.md.html) + - [PlaySdkIndexDeprecated: Library is marked as deprecated in SDK Index](PlaySdkIndexDeprecated.md.html) - [ProviderReadPermissionOnly: Provider with readPermission only and implemented write APIs](ProviderReadPermissionOnly.md.html) - [ProxyPassword: Proxy Password in Cleartext](ProxyPassword.md.html) - [ReservedSystemPermission: Permission name is a reserved Android permission](ReservedSystemPermission.md.html) diff --git a/docs/checks/com_google_dagger_dagger-lint.md.html b/docs/checks/com_google_dagger_dagger-lint.md.html index da6bf3ba..1b479c67 100644 --- a/docs/checks/com_google_dagger_dagger-lint.md.html +++ b/docs/checks/com_google_dagger_dagger-lint.md.html @@ -21,7 +21,7 @@ Compiled : Lint 7.1 Artifact -: com.google.dagger:dagger-lint:2.52 +: com.google.dagger:dagger-lint:2.54 (##) Included Issues @@ -40,17 +40,17 @@ ``` // build.gradle.kts -implementation("com.google.dagger:dagger-lint:2.52") +implementation("com.google.dagger:dagger-lint:2.54") // build.gradle -implementation 'com.google.dagger:dagger-lint:2.52' +implementation 'com.google.dagger:dagger-lint:2.54' // build.gradle.kts with version catalogs: implementation(libs.dagger.lint) # libs.versions.toml [versions] -dagger-lint = "2.52" +dagger-lint = "2.54" [libraries] # For clarity and text wrapping purposes the following declaration is # shown split up across lines, but in TOML it needs to be on a single @@ -62,7 +62,7 @@ } ``` -2.52 is the version this documentation was generated from; +2.54 is the version this documentation was generated from; there may be newer versions available. (##) Changes @@ -77,6 +77,9 @@ | Version | Date | Issues | Compatible | Compiled | Requires | |-------------------:|----------|-------:|------------|--------------:|---------:| +| 2.54|2024/12/20| 4| Yes| 7.1| 7.1| +| 2.53.1|2024/12/09| 4| Yes| 7.1| 7.1| +| 2.53|2024/12/02| 4| Yes| 7.1| 7.1| | 2.52|2024/08/05| 4| Yes| 7.1| 7.1| | 2.51.1|2024/03/29| 4| Yes| 7.1| 7.1| | 2.51|2024/02/27| 4| Yes| 7.1| 7.1| diff --git a/docs/checks/index.md.html b/docs/checks/index.md.html index 8321bfd7..bde6f43e 100644 --- a/docs/checks/index.md.html +++ b/docs/checks/index.md.html @@ -26,6 +26,7 @@ - [AppCompatResource: Menu namespace](AppCompatResource.md.html) - [AppIndexingService: App Indexing Background Services](AppIndexingService.md.html) - [AppLinkSplitToWebAndCustom: Android App links should only use http(s) schemes](AppLinkSplitToWebAndCustom.md.html) + - [AppLinkUriRelativeFilterGroupError: URI relative filter group invalid](AppLinkUriRelativeFilterGroupError.md.html) - [AppLinkUrlError: URI invalid](AppLinkUrlError.md.html) - [AppLinkWarning: App Link warning](AppLinkWarning.md.html) - [AppLinksAutoVerify: App Links Auto Verification Failure](AppLinksAutoVerify.md.html) @@ -190,6 +191,7 @@ - [ExtraTranslation: Extra translation](ExtraTranslation.md.html) - [FieldSiteTargetOnQualifierAnnotation: Redundant 'field:' used for Dagger qualifier annotation](FieldSiteTargetOnQualifierAnnotation.md.html) - [FileEndsWithExt: File endsWith on file extensions](FileEndsWithExt.md.html) + - [FilePropertyDetector: Avoid using Property](FilePropertyDetector.md.html) - [FindViewByIdCast: Add Explicit Cast](FindViewByIdCast.md.html) - [FlowOperatorInvokedInComposition: Flow operator functions should not be invoked within composition](FlowOperatorInvokedInComposition.md.html) - [FontValidation: Validation of font files](FontValidation.md.html) @@ -200,8 +202,8 @@ - [FragmentBackPressedCallback: Use getViewLifecycleOwner() as the LifecycleOwner instead of a Fragment instance](FragmentBackPressedCallback.md.html) - [FragmentConstructorInjection: Fragment dependencies should be injected using constructor injections only](FragmentConstructorInjection.md.html) - [FragmentFieldInjection: Fragment dependencies should be injected using the Fragment's constructor](FragmentFieldInjection.md.html) - - [FragmentGradleConfiguration: Include the fragment-testing library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) (from androidx.fragment:fragment-testing:1.8.5) - - [FragmentGradleConfiguration: Include the fragment-testing-manifest library using the debugImplementation configuration](FragmentGradleConfiguration-2.md.html) (from androidx.fragment:fragment-testing-manifest:1.8.5) + - [FragmentGradleConfiguration: Include the fragment-testing library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) (from androidx.fragment:fragment-testing:+) + - [FragmentGradleConfiguration: Include the fragment-testing-manifest library using the debugImplementation configuration](FragmentGradleConfiguration-2.md.html) (from androidx.fragment:fragment-testing-manifest:+) - [FragmentLiveDataObserve: Use getViewLifecycleOwner() as the LifecycleOwner instead of a Fragment instance when observing a LiveData object](FragmentLiveDataObserve.md.html) - [FragmentTagUsage: Use FragmentContainerView instead of the tag](FragmentTagUsage.md.html) - [FrequentlyChangedStateReadInComposition: Frequently changing state should not be directly read in composable function](FrequentlyChangedStateReadInComposition.md.html) @@ -256,8 +258,8 @@ - [ImpliedTouchscreenHardware: Touchscreen not optional](ImpliedTouchscreenHardware.md.html) - [InOrMmUsage: Using `mm` or `in` dimensions](InOrMmUsage.md.html) - [IncludeLayoutParam: Ignored layout params on include](IncludeLayoutParam.md.html) - - [InclusiveNaming: Use inclusive naming](InclusiveNaming.md.html) (from com.slack.lint:slack-lint-checks:0.8.2) - - [InclusiveNaming: Use inclusive naming](InclusiveNaming.md.html) (from com.slack.lint:slack-lint-checks:0.8.2) + - [InclusiveNaming: Use inclusive naming](InclusiveNaming.md.html) (from com.slack.lint:slack-lint-checks:+) + - [InclusiveNaming: Use inclusive naming](InclusiveNaming.md.html) (from com.slack.lint:slack-lint-checks:+) - [IncompatibleMediaBrowserServiceCompatVersion: Obsolete version of MediaBrowserServiceCompat](IncompatibleMediaBrowserServiceCompatVersion.md.html) - [InconsistentArrays: Inconsistencies in array element counts](InconsistentArrays.md.html) - [InconsistentLayout: Inconsistent Layouts](InconsistentLayout.md.html) @@ -369,9 +371,9 @@ - [MissingId: Fragments should specify an `id` or `tag`](MissingId.md.html) - [MissingInflatedId: ID not found in inflated resource](MissingInflatedId.md.html) - [MissingIntentFilterForMediaSearch: Missing MEDIA_PLAY_FROM_SEARCH intent-filter](MissingIntentFilterForMediaSearch.md.html) - - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation.md.html) (from androidx.navigation:navigation-compose:2.9.0-alpha03) - - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-2.md.html) (from androidx.navigation:navigation-runtime:2.9.0-alpha03) - - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-3.md.html) (from androidx.navigation:navigation-common:2.9.0-alpha03) + - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation.md.html) (from androidx.navigation:navigation-compose:+) + - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-2.md.html) (from androidx.navigation:navigation-runtime:+) + - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-3.md.html) (from androidx.navigation:navigation-common:+) - [MissingLeanbackLauncher: Missing Leanback Launcher Intent Filter](MissingLeanbackLauncher.md.html) - [MissingLeanbackSupport: Missing Leanback Support](MissingLeanbackSupport.md.html) - [MissingMediaBrowserServiceIntentFilter: Missing MediaBrowserService intent-filter](MissingMediaBrowserServiceIntentFilter.md.html) @@ -380,10 +382,11 @@ - [MissingPrefix: Missing Android XML namespace](MissingPrefix.md.html) - [MissingQuantity: Missing quantity translation](MissingQuantity.md.html) - [MissingResourceImportAlias: Missing import alias for R class](MissingResourceImportAlias.md.html) + - [MissingResourcesProperties: Missing resources.properties file](MissingResourcesProperties.md.html) - [MissingScrollbars: Scroll views should declare a scrollbar](MissingScrollbars.md.html) - - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation.md.html) (from androidx.navigation:navigation-compose:2.9.0-alpha03) - - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation-2.md.html) (from androidx.navigation:navigation-runtime:2.9.0-alpha03) - - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation-3.md.html) (from androidx.navigation:navigation-common:2.9.0-alpha03) + - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation.md.html) (from androidx.navigation:navigation-compose:+) + - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation-2.md.html) (from androidx.navigation:navigation-runtime:+) + - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation-3.md.html) (from androidx.navigation:navigation-common:+) - [MissingSuperCall: Missing Super Call](MissingSuperCall.md.html) - [MissingTranslation: Incomplete translation](MissingTranslation.md.html) - [MissingTvBanner: TV Missing Banner](MissingTvBanner.md.html) @@ -460,6 +463,7 @@ - [NewApi: Calling new methods on older versions](NewApi.md.html) - [NewerVersionAvailable: Newer Library Versions Available](NewerVersionAvailable.md.html) - [NfcTechWhitespace: Whitespace in NFC tech lists](NfcTechWhitespace.md.html) + - [NioDesugaring: Unsupported `java.nio` operations](NioDesugaring.md.html) - [NoCollectCallFound: You must call collect on the given progress flow when using PredictiveBackHandler](NoCollectCallFound.md.html) - [NoHardKeywords: No Hard Kotlin Keywords](NoHardKeywords.md.html) - [NoOp: NoOp Code](NoOp.md.html) @@ -473,8 +477,8 @@ - [NotificationPermission: Notifications Without Permission](NotificationPermission.md.html) - [NotificationTrampoline: Notification Trampolines](NotificationTrampoline.md.html) - [NotifyDataSetChanged: Invalidating All RecyclerView Data](NotifyDataSetChanged.md.html) - - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) (from androidx.lifecycle:lifecycle-livedata-core:2.9.0-alpha07) - - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData-2.md.html) (from androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.0-alpha01) + - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) (from androidx.lifecycle:lifecycle-livedata-core:+) + - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData-2.md.html) (from androidx.lifecycle:lifecycle-livedata-core-ktx:+) - [ObjectAnimatorBinding: Incorrect ObjectAnimator Property](ObjectAnimatorBinding.md.html) - [ObsoleteLayoutParam: Obsolete layout params](ObsoleteLayoutParam.md.html) - [ObsoleteSdkInt: Obsolete SDK_INT Version Check](ObsoleteSdkInt.md.html) @@ -496,10 +500,12 @@ - [PermissionNamingConvention: Permission name does not follow recommended convention](PermissionNamingConvention.md.html) - [PictureInPictureIssue: Picture In Picture best practices not followed](PictureInPictureIssue.md.html) - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) + - [PlaySdkIndexDeprecated: Library is marked as deprecated in SDK Index](PlaySdkIndexDeprecated.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [PluralsCandidate: Potential Plurals](PluralsCandidate.md.html) + - [PrivacySandboxBlockedCall: Call is blocked in the Privacy Sandbox](PrivacySandboxBlockedCall.md.html) - [PrivateApi: Using Private APIs](PrivateApi.md.html) - [PrivateResource: Using private resources](PrivateResource.md.html) - [ProduceStateDoesNotAssignValue: produceState calls should assign `value` inside the producer lambda](ProduceStateDoesNotAssignValue.md.html) @@ -534,8 +540,8 @@ - [RememberSaveableSaverParameter: `Saver` objects should be passed to the saver parameter, not the vararg `inputs` parameter](RememberSaveableSaverParameter.md.html) - [RemoteViewLayout: Unsupported View in RemoteView](RemoteViewLayout.md.html) - [RemoveWorkManagerInitializer: Remove androidx.work.WorkManagerInitializer from your AndroidManifest.xml when using on-demand initialization](RemoveWorkManagerInitializer.md.html) - - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07) - - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage-2.md.html) (from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01) + - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:+) + - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage-2.md.html) (from androidx.lifecycle:lifecycle-runtime-ktx:+) - [ReportShortcutUsage: Report shortcut usage](ReportShortcutUsage.md.html) - [RequiredSize: Missing `layout_width` or `layout_height` attributes](RequiredSize.md.html) - [RequiresFeature: Requires Feature](RequiresFeature.md.html) @@ -675,8 +681,8 @@ - [UnsafeDynamicallyLoadedCode: `load` used to dynamically load code](UnsafeDynamicallyLoadedCode.md.html) - [UnsafeImplicitIntentLaunch: Implicit intent matches an internal non-exported component](UnsafeImplicitIntentLaunch.md.html) - [UnsafeIntentLaunch: Launched Unsafe Intent](UnsafeIntentLaunch.md.html) - - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:2.9.0-alpha07) - - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage-2.md.html) (from androidx.lifecycle:lifecycle-runtime-ktx:2.8.0-alpha01) + - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) (from androidx.lifecycle:lifecycle-runtime-android:+) + - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage-2.md.html) (from androidx.lifecycle:lifecycle-runtime-ktx:+) - [UnsafeNativeCodeLocation: Native code outside library directory](UnsafeNativeCodeLocation.md.html) - [UnsafeOptInUsageError: Unsafe opt-in usage intended to be error-level severity](UnsafeOptInUsageError.md.html) - [UnsafeOptInUsageWarning: Unsafe opt-in usage intended to be warning-level severity](UnsafeOptInUsageWarning.md.html) @@ -720,6 +726,7 @@ - [UseOfBundledGooglePlayServices: Use of bundled version of Google Play services](UseOfBundledGooglePlayServices.md.html) - [UseOfNonLambdaOffsetOverload: Modifier.offset{ } is preferred over Modifier.offset() for `State` backed arguments](UseOfNonLambdaOffsetOverload.md.html) - [UseRequireInsteadOfGet: Use the 'require_____()' API rather than 'get____()' API for more descriptive error messages when it's null](UseRequireInsteadOfGet.md.html) + - [UseRequiresApi: Use `@RequiresApi` instead of `@TargetApi`](UseRequiresApi.md.html) - [UseRxSetProgress2: `setProgress` is deprecated. Use `setCompletableProgress` instead.](UseRxSetProgress2.md.html) - [UseSdkSuppress: Using `@SdkSuppress` instead of `@RequiresApi`](UseSdkSuppress.md.html) - [UseSparseArrays: HashMap can be replaced with SparseArray](UseSparseArrays.md.html) @@ -790,9 +797,9 @@ - [WrongRequiresOptIn: Experimental annotations defined in Kotlin must use kotlin.RequiresOptIn](WrongRequiresOptIn.md.html) - [WrongResourceImportAlias: Wrong import alias for this R class](WrongResourceImportAlias.md.html) - [WrongSdkInt: Mismatched SDK_INT or SDK_INT_FULL](WrongSdkInt.md.html) - - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-compose:2.9.0-alpha03) - - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType-2.md.html) (from androidx.navigation:navigation-runtime:2.9.0-alpha03) - - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType-3.md.html) (from androidx.navigation:navigation-common:2.9.0-alpha03) + - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) (from androidx.navigation:navigation-compose:+) + - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType-2.md.html) (from androidx.navigation:navigation-runtime:+) + - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType-3.md.html) (from androidx.navigation:navigation-common:+) - [WrongTestMethodName: Flags test methods that start with test](WrongTestMethodName.md.html) - [WrongThread: Wrong Thread](WrongThread.md.html) - [WrongThreadInterprocedural: Wrong Thread (Interprocedural)](WrongThreadInterprocedural.md.html) diff --git a/docs/checks/libraries.md.html b/docs/checks/libraries.md.html index 8c34c6d9..1c99e6f6 100644 --- a/docs/checks/libraries.md.html +++ b/docs/checks/libraries.md.html @@ -5,7 +5,7 @@ Lint-specific libraries: -* [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) (6 checks) +* [androidx.lint:lint-gradle](androidx_lint_lint-gradle.md.html) (7 checks) * [com.android.security.lint:lint](com_android_security_lint_lint.md.html) (18 checks) * [com.uber.autodispose2:autodispose-lint](com_uber_autodispose2_autodispose-lint.md.html) (1 checks) * [com.google.dagger:dagger-lint](com_google_dagger_dagger-lint.md.html) (4 checks) diff --git a/docs/checks/severity.md.html b/docs/checks/severity.md.html index 6efb100e..50705857 100644 --- a/docs/checks/severity.md.html +++ b/docs/checks/severity.md.html @@ -60,12 +60,13 @@ - [WrongFolder: Resource file in the wrong `res` folder](WrongFolder.md.html) - [WrongManifestParent: Wrong manifest parent](WrongManifestParent.md.html) -* Error (310) +* Error (314) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) - [AppCompatCustomView: Appcompat Custom Widgets](AppCompatCustomView.md.html) - [AppCompatResource: Menu namespace](AppCompatResource.md.html) - [AppLinkSplitToWebAndCustom: Android App links should only use http(s) schemes](AppLinkSplitToWebAndCustom.md.html) + - [AppLinkUriRelativeFilterGroupError: URI relative filter group invalid](AppLinkUriRelativeFilterGroupError.md.html) - [AppLinkUrlError: URI invalid](AppLinkUrlError.md.html) - [AppLinksAutoVerify: App Links Auto Verification Failure](AppLinksAutoVerify.md.html) - [AutoDispose: Missing Disposable handling: Apply AutoDispose or cache the Disposable instance manually and enable lenient mode](AutoDispose.md.html) @@ -132,6 +133,7 @@ - [ExceptionMessage: Please provide a string for the `lazyMessage` parameter](ExceptionMessage.md.html) - [ExperimentalAnnotationRetention: Experimental annotation with incorrect retention](ExperimentalAnnotationRetention.md.html) - [ExtraText: Extraneous text in resource files](ExtraText.md.html) + - [FilePropertyDetector: Avoid using Property](FilePropertyDetector.md.html) - [FlowOperatorInvokedInComposition: Flow operator functions should not be invoked within composition](FlowOperatorInvokedInComposition.md.html) - [FontValidation: Validation of font files](FontValidation.md.html) - [ForegroundServicePermission: Missing permissions required by foregroundServiceType](ForegroundServicePermission.md.html) @@ -251,6 +253,7 @@ - [MustUseNamedParams: Calls to @MustUseNamedParams-annotated methods must name all parameters](MustUseNamedParams.md.html) - [MutableImplicitPendingIntent: Mutable Implicit PendingIntent is disallowed](MutableImplicitPendingIntent.md.html) - [NewApi: Calling new methods on older versions](NewApi.md.html) + - [NioDesugaring: Unsupported `java.nio` operations](NioDesugaring.md.html) - [NoCollectCallFound: You must call collect on the given progress flow when using PredictiveBackHandler](NoCollectCallFound.md.html) - [NotInterpolated: Incorrect Interpolation](NotInterpolated.md.html) - [NotificationId0: Notification Id is 0](NotificationId0.md.html) @@ -265,6 +268,7 @@ - [ParcelizeFunctionProperty: Function type properties are not parcelable](ParcelizeFunctionProperty.md.html) - [PendingBindings: Missing Pending Bindings](PendingBindings.md.html) - [PermissionImpliesUnsupportedChromeOsHardware: Permission Implies Unsupported Chrome OS Hardware](PermissionImpliesUnsupportedChromeOsHardware.md.html) + - [PlaySdkIndexDeprecated: Library is marked as deprecated in SDK Index](PlaySdkIndexDeprecated.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) @@ -373,7 +377,7 @@ - [WrongViewCast: Mismatched view type](WrongViewCast.md.html) - [XmlEscapeNeeded: Missing XML Escape](XmlEscapeNeeded.md.html) -* Warning (424) +* Warning (427) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) - [AccessibilityFocus: Forcing accessibility focus](AccessibilityFocus.md.html) @@ -583,6 +587,7 @@ - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation.md.html) - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-2.md.html) - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-3.md.html) + - [MissingResourcesProperties: Missing resources.properties file](MissingResourcesProperties.md.html) - [MissingScrollbars: Scroll views should declare a scrollbar](MissingScrollbars.md.html) - [MissingVersion: Missing application name/version](MissingVersion.md.html) - [MissingXmlHeader: Flags xml files that don't have a header](MissingXmlHeader.md.html) @@ -626,6 +631,7 @@ - [PictureInPictureIssue: Picture In Picture best practices not followed](PictureInPictureIssue.md.html) - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) - [PluralsCandidate: Potential Plurals](PluralsCandidate.md.html) + - [PrivacySandboxBlockedCall: Call is blocked in the Privacy Sandbox](PrivacySandboxBlockedCall.md.html) - [PrivateApi: Using Private APIs](PrivateApi.md.html) - [PrivateResource: Using private resources](PrivateResource.md.html) - [ProguardSplit: Proguard.cfg file contains generic Android rules](ProguardSplit.md.html) @@ -756,6 +762,7 @@ - [UseGetLayoutInflater: Use getLayoutInflater() to get the LayoutInflater instead of calling LayoutInflater.from(Context)](UseGetLayoutInflater.md.html) - [UseOfBundledGooglePlayServices: Use of bundled version of Google Play services](UseOfBundledGooglePlayServices.md.html) - [UseOfNonLambdaOffsetOverload: Modifier.offset{ } is preferred over Modifier.offset() for `State` backed arguments](UseOfNonLambdaOffsetOverload.md.html) + - [UseRequiresApi: Use `@RequiresApi` instead of `@TargetApi`](UseRequiresApi.md.html) - [UseSparseArrays: HashMap can be replaced with SparseArray](UseSparseArrays.md.html) - [UseSupportActionBar: Should not call `Activity.setActionBar` if you extend `AppCompatActivity`](UseSupportActionBar.md.html) - [UseSwitchCompatOrMaterialCode: Replace usage of `Switch` widget](UseSwitchCompatOrMaterialCode.md.html) @@ -828,7 +835,6 @@ - [EasterEgg](EasterEgg.md.html) - [ExpensiveAssertion](ExpensiveAssertion.md.html) - [IconExpectedSize](IconExpectedSize.md.html) - - [ImplicitSamInstance](ImplicitSamInstance.md.html) - [InvalidPackage](InvalidPackage.md.html) - [KotlinPropertyAccess](KotlinPropertyAccess.md.html) - [KotlincFE10](KotlincFE10.md.html) @@ -844,6 +850,7 @@ - [NoHardKeywords](NoHardKeywords.md.html) - [NoOp](NoOp.md.html) - [PermissionNamingConvention](PermissionNamingConvention.md.html) + - [PrivacySandboxBlockedCall](PrivacySandboxBlockedCall.md.html) - [Registered](Registered.md.html) - [RequiredSize](RequiredSize.md.html) - [SelectableText](SelectableText.md.html) diff --git a/docs/checks/vendors.md.html b/docs/checks/vendors.md.html index fd2c72c2..449aac90 100644 --- a/docs/checks/vendors.md.html +++ b/docs/checks/vendors.md.html @@ -3,7 +3,7 @@ Order: [Alphabetical](index.md.html) | [By category](categories.md.html) | By vendor | [By severity](severity.md.html) | [By year](year.md.html) | [Libraries](libraries.md.html) -* Built In (480) +* Built In (486) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) @@ -27,6 +27,7 @@ - [AppCompatResource: Menu namespace](AppCompatResource.md.html) - [AppIndexingService: App Indexing Background Services](AppIndexingService.md.html) - [AppLinkSplitToWebAndCustom: Android App links should only use http(s) schemes](AppLinkSplitToWebAndCustom.md.html) + - [AppLinkUriRelativeFilterGroupError: URI relative filter group invalid](AppLinkUriRelativeFilterGroupError.md.html) - [AppLinkUrlError: URI invalid](AppLinkUrlError.md.html) - [AppLinkWarning: App Link warning](AppLinkWarning.md.html) - [AppLinksAutoVerify: App Links Auto Verification Failure](AppLinksAutoVerify.md.html) @@ -244,6 +245,7 @@ - [MissingPermission: Missing Permissions](MissingPermission.md.html) - [MissingPrefix: Missing Android XML namespace](MissingPrefix.md.html) - [MissingQuantity: Missing quantity translation](MissingQuantity.md.html) + - [MissingResourcesProperties: Missing resources.properties file](MissingResourcesProperties.md.html) - [MissingSuperCall: Missing Super Call](MissingSuperCall.md.html) - [MissingTranslation: Incomplete translation](MissingTranslation.md.html) - [MissingTvBanner: TV Missing Banner](MissingTvBanner.md.html) @@ -264,6 +266,7 @@ - [NewApi: Calling new methods on older versions](NewApi.md.html) - [NewerVersionAvailable: Newer Library Versions Available](NewerVersionAvailable.md.html) - [NfcTechWhitespace: Whitespace in NFC tech lists](NfcTechWhitespace.md.html) + - [NioDesugaring: Unsupported `java.nio` operations](NioDesugaring.md.html) - [NoHardKeywords: No Hard Kotlin Keywords](NoHardKeywords.md.html) - [NoOp: NoOp Code](NoOp.md.html) - [NonConstantResourceId: Checks use of resource IDs in places requiring constants](NonConstantResourceId.md.html) @@ -295,10 +298,12 @@ - [PermissionNamingConvention: Permission name does not follow recommended convention](PermissionNamingConvention.md.html) - [PictureInPictureIssue: Picture In Picture best practices not followed](PictureInPictureIssue.md.html) - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) + - [PlaySdkIndexDeprecated: Library is marked as deprecated in SDK Index](PlaySdkIndexDeprecated.md.html) - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [PluralsCandidate: Potential Plurals](PluralsCandidate.md.html) + - [PrivacySandboxBlockedCall: Call is blocked in the Privacy Sandbox](PrivacySandboxBlockedCall.md.html) - [PrivateApi: Using Private APIs](PrivateApi.md.html) - [PrivateResource: Using private resources](PrivateResource.md.html) - [Proguard: Using obsolete ProGuard configuration](Proguard.md.html) @@ -432,6 +437,7 @@ - [UseCheckPermission: Using the result of check permission calls](UseCheckPermission.md.html) - [UseCompoundDrawables: Node can be replaced by a `TextView` with compound drawables](UseCompoundDrawables.md.html) - [UseOfBundledGooglePlayServices: Use of bundled version of Google Play services](UseOfBundledGooglePlayServices.md.html) + - [UseRequiresApi: Use `@RequiresApi` instead of `@TargetApi`](UseRequiresApi.md.html) - [UseSdkSuppress: Using `@SdkSuppress` instead of `@RequiresApi`](UseSdkSuppress.md.html) - [UseSparseArrays: HashMap can be replaced with SparseArray](UseSparseArrays.md.html) - [UseTomlInstead: Use TOML Version Catalog Instead](UseTomlInstead.md.html) @@ -552,9 +558,10 @@ - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage-2.md.html) - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.md.html) -* Android Open Source Project (androidx.lint:lint-gradle) (6) +* Android Open Source Project (androidx.lint:lint-gradle) (7) - [EagerGradleConfiguration: Avoid using eager task APIs](EagerGradleConfiguration.md.html) + - [FilePropertyDetector: Avoid using Property](FilePropertyDetector.md.html) - [GradleProjectIsolation: Avoid using APIs that are not project isolation safe](GradleProjectIsolation.md.html) - [InternalAgpApiUsage: Avoid using internal Android Gradle Plugin APIs](InternalAgpApiUsage.md.html) - [InternalGradleApiUsage: Avoid using internal Gradle APIs](InternalGradleApiUsage.md.html) diff --git a/docs/checks/year.md.html b/docs/checks/year.md.html index 9a2d1d53..9ec8ceb2 100644 --- a/docs/checks/year.md.html +++ b/docs/checks/year.md.html @@ -3,13 +3,18 @@ Order: [Alphabetical](index.md.html) | [By category](categories.md.html) | [By vendor](vendors.md.html) | [By severity](severity.md.html) | By year | [Libraries](libraries.md.html) -* 2024 (47) +* 2024 (67) - [AccessibilityFocus: Forcing accessibility focus](AccessibilityFocus.md.html) - [AccessibilityScrollActions: Incomplete Scroll Action support](AccessibilityScrollActions.md.html) - [AccessibilityWindowStateChangedEvent: Use of accessibility window state change events](AccessibilityWindowStateChangedEvent.md.html) + - [ActivityIconColor: Ongoing activity icon is not white](ActivityIconColor.md.html) + - [AppLinkSplitToWebAndCustom: Android App links should only use http(s) schemes](AppLinkSplitToWebAndCustom.md.html) + - [AppLinkUriRelativeFilterGroupError: URI relative filter group invalid](AppLinkUriRelativeFilterGroupError.md.html) + - [AppLinkWarning: App Link warning](AppLinkWarning.md.html) - [AvoidUsingNotNullOperator: Avoid using the !! operator in Kotlin](AvoidUsingNotNullOperator.md.html) - [BuildListAdds: Missing `add` call in `buildList`](BuildListAdds.md.html) + - [ChildInNonViewGroup: Only view groups can have children](ChildInNonViewGroup.md.html) - [ConstantContentStateKeyInItemsCall: Composables within an LazyList `items` call should have unique content state keys](ConstantContentStateKeyInItemsCall.md.html) - [ContextCastToActivity: LocalContext should not be cast to Activity, use LocalActivity instead](ContextCastToActivity.md.html) - [CredManMissingDal: Missing Digital Asset Link for Credential Manager](CredManMissingDal.md.html) @@ -19,6 +24,7 @@ - [DisabledAllSafeBrowsing: Application has disabled safe browsing for all WebView objects](DisabledAllSafeBrowsing.md.html) - [DoNotCallViewToString: Do not use `View.toString()`](DoNotCallViewToString.md.html) - [EagerGradleConfiguration: Avoid using eager task APIs](EagerGradleConfiguration.md.html) + - [FilePropertyDetector: Avoid using Property](FilePropertyDetector.md.html) - [GradleProjectIsolation: Avoid using APIs that are not project isolation safe](GradleProjectIsolation.md.html) - [InflationInItemDecoration: Avoid inflating a view to display text](InflationInItemDecoration.md.html) - [InsecureDnsSdkLevel: Application vulnerable to DNS spoofing attacks](InsecureDnsSdkLevel.md.html) @@ -33,11 +39,21 @@ - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation.md.html) - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-2.md.html) - [MissingKeepAnnotation: In minified builds, Enum classes used as type-safe Navigation arguments should be annotated with @androidx.annotation.Keep](MissingKeepAnnotation-3.md.html) + - [MissingResourcesProperties: Missing resources.properties file](MissingResourcesProperties.md.html) - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation.md.html) - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation-2.md.html) - [MissingSerializableAnnotation: Type-safe NavDestinations must be annotated with @kotlinx.serialization.Serializable](MissingSerializableAnnotation-3.md.html) + - [NioDesugaring: Unsupported `java.nio` operations](NioDesugaring.md.html) + - [PictureInPictureIssue: Picture In Picture best practices not followed](PictureInPictureIssue.md.html) + - [PlaySdkIndexDeprecated: Library is marked as deprecated in SDK Index](PlaySdkIndexDeprecated.md.html) + - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) + - [PrivacySandboxBlockedCall: Call is blocked in the Privacy Sandbox](PrivacySandboxBlockedCall.md.html) - [ProtoLayoutEdgeContentLayoutResponsive: ProtoLayout Material EdgeContentLayout should be used with responsivebehaviour to ensure the best behaviour across different screen sizes andlocales](ProtoLayoutEdgeContentLayoutResponsive.md.html) - [ProtoLayoutPrimaryLayoutResponsive: ProtoLayout Material PrimaryLayout should be used with responsive behaviourto ensure the best behaviour across different screen sizes and locales](ProtoLayoutPrimaryLayoutResponsive.md.html) + - [PublicKeyCredential: Creating public key credential](PublicKeyCredential.md.html) + - [SecretInSource: Secret in source code](SecretInSource.md.html) + - [SelectedPhotoAccess: Behavior change when requesting photo library access](SelectedPhotoAccess.md.html) + - [SimilarGradleDependency: Multiple Versions Gradle Dependency](SimilarGradleDependency.md.html) - [SlotReused: Slots should be invoked in at most one place](SlotReused.md.html) - [SuspiciousModifierThen: Using Modifier.then with a Modifier factory function with an implicit receiver](SuspiciousModifierThen.md.html) - [UnclosedTrace: Incorrect trace section usage](UnclosedTrace.md.html) @@ -45,19 +61,27 @@ - [UnsanitizedContentProviderFilename: Trusting ContentProvider filenames without any sanitization](UnsanitizedContentProviderFilename.md.html) - [UnsanitizedFilenameFromContentProvider: Trusting ContentProvider filenames without any sanitization](UnsanitizedFilenameFromContentProvider.md.html) - [UnusedSharedTransitionModifierParameter: SharedTransitionScope calls should use the provided Modifier parameter](UnusedSharedTransitionModifierParameter.md.html) + - [UseRequiresApi: Use `@RequiresApi` instead of `@TargetApi`](UseRequiresApi.md.html) + - [UseSdkSuppress: Using `@SdkSuppress` instead of `@RequiresApi`](UseSdkSuppress.md.html) - [ViewModelConstructorInComposable: Constructing a view model in a composable](ViewModelConstructorInComposable.md.html) - [WithPluginClasspathUsage: Flags usage of GradleRunner#withPluginClasspath](WithPluginClasspathUsage.md.html) - [WithTypeWithoutConfigureEach: Flags usage of withType with a closure instead of configureEach](WithTypeWithoutConfigureEach.md.html) + - [WrongCommentType: Wrong Comment Type](WrongCommentType.md.html) - [WrongNavigateRouteType: Navigation route should be an object literal or a destination class instance with arguments](WrongNavigateRouteType.md.html) + - [WrongSdkInt: Mismatched SDK_INT or SDK_INT_FULL](WrongSdkInt.md.html) - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType.md.html) - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType-2.md.html) - [WrongStartDestinationType: If the startDestination points to a Class with arguments, the startDestination must be an instance of that class. If it points to a Class without arguments, startDestination can be a KClass literal, such as StartClass::class.](WrongStartDestinationType-3.md.html) -* 2023 (59) +* 2023 (85) - [ArcAnimationSpecTypeIssue: ArcAnimationSpec is designed for 2D values. Particularly, for positional values such as Offset.](ArcAnimationSpecTypeIssue.md.html) - [AutoboxingStateCreation: `State` will autobox values assigned to this state. Use a specialized state type instead.](AutoboxingStateCreation.md.html) - [AutoboxingStateValueProperty: State access causes value to be autoboxed](AutoboxingStateValueProperty.md.html) + - [BinderGetCallingInMainThread: Incorrect usage of getCallingUid() or getCallingPid()](BinderGetCallingInMainThread.md.html) + - [BomWithoutPlatform: Using a BOM without platform call](BomWithoutPlatform.md.html) + - [ChromeOsAbiSupport: Missing ABI Support for ChromeOS](ChromeOsAbiSupport.md.html) + - [ChromeOsOnConfigurationChanged: Poor performance with APIs inside `onConfigurationChanged()`](ChromeOsOnConfigurationChanged.md.html) - [ComposeCompositionLocalGetter: CompositionLocals should not use getters](ComposeCompositionLocalGetter.md.html) - [ComposeCompositionLocalUsage: CompositionLocals are discouraged](ComposeCompositionLocalUsage.md.html) - [ComposeContentEmitterReturningValues: Composable functions should emit XOR return](ComposeContentEmitterReturningValues.md.html) @@ -77,34 +101,57 @@ - [ComposeUnstableReceiver: Unstable receivers will always be recomposed](ComposeUnstableReceiver.md.html) - [ComposeViewModelForwarding: Don't forward ViewModels through composables](ComposeViewModelForwarding.md.html) - [ComposeViewModelInjection: Implicit dependencies of composables should be made explicit](ComposeViewModelInjection.md.html) + - [CustomPermissionTypo: Permission appears to be a custom permission with a typo](CustomPermissionTypo.md.html) - [DefaultCleartextTraffic: Application by default permits cleartext traffic](DefaultCleartextTraffic.md.html) - [DefaultTrustedUserCerts: Application by default trusts user-added CA certificates](DefaultTrustedUserCerts.md.html) + - [EditedTargetSdkVersion: Manually Edited TargetSdkVersion](EditedTargetSdkVersion.md.html) + - [ExactAlarm: Invalid Usage of Exact Alarms](ExactAlarm.md.html) - [ExceptionMessage: Please provide a string for the `lazyMessage` parameter](ExceptionMessage.md.html) - [ExposedRootPath: Application specifies the device root directory](ExposedRootPath.md.html) - [ForegroundServicePermission: Missing permissions required by foregroundServiceType](ForegroundServicePermission.md.html) - [ForegroundServiceType: Missing `foregroundServiceType` attribute in manifest](ForegroundServiceType.md.html) + - [GestureBackNavigation: Usage of KeyEvent.KEYCODE_BACK](GestureBackNavigation.md.html) - [IntentWithNullActionLaunch: Unsafe intent launched with no action set](IntentWithNullActionLaunch.md.html) + - [KaptUsageInsteadOfKsp: Kapt usage should be replaced with KSP](KaptUsageInsteadOfKsp.md.html) + - [KnownPermissionError: Value specified for permission is a known error](KnownPermissionError.md.html) + - [KotlincFE10: Avoid using old K1 Kotlin compiler APIs](KotlincFE10.md.html) - [ModifierNodeInspectableProperties: ModifierNodeElement missing inspectableProperties](ModifierNodeInspectableProperties.md.html) + - [MonochromeLauncherIcon: Monochrome icon is not defined](MonochromeLauncherIcon.md.html) - [MutableImplicitPendingIntent: Mutable Implicit PendingIntent is disallowed](MutableImplicitPendingIntent.md.html) - [NoCollectCallFound: You must call collect on the given progress flow when using PredictiveBackHandler](NoCollectCallFound.md.html) + - [NoOp: NoOp Code](NoOp.md.html) + - [NotificationPermission: Notifications Without Permission](NotificationPermission.md.html) + - [OldTargetApi: Target SDK attribute is not targeting latest version](OldTargetApi.md.html) - [OpaqueUnitKey: Passing an expression which always returns `Unit` as a key argument](OpaqueUnitKey.md.html) - [ParcelizeFunctionProperty: Function type properties are not parcelable](ParcelizeFunctionProperty.md.html) - - [PictureInPictureIssue: Picture In Picture best practices not followed](PictureInPictureIssue.md.html) + - [PermissionNamingConvention: Permission name does not follow recommended convention](PermissionNamingConvention.md.html) + - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - [ProtoLayoutMinSchema: ProtoLayout feature is not guaranteed to be available on the target device API](ProtoLayoutMinSchema.md.html) - - [PublicKeyCredential: Creating public key credential](PublicKeyCredential.md.html) - - [SecretInSource: Secret in source code](SecretInSource.md.html) + - [ProviderReadPermissionOnly: Provider with readPermission only and implemented write APIs](ProviderReadPermissionOnly.md.html) + - [ReportShortcutUsage: Report shortcut usage](ReportShortcutUsage.md.html) + - [ReservedSystemPermission: Permission name is a reserved Android permission](ReservedSystemPermission.md.html) + - [ScheduleExactAlarm: Scheduling Exact Alarms Without Required Permission](ScheduleExactAlarm.md.html) - [SensitiveExternalPath: Application may expose sensitive info like PII by storing it in external storage](SensitiveExternalPath.md.html) + - [SetAndClearCommunicationDevice: Clearing communication device](SetAndClearCommunicationDevice.md.html) + - [SquareAndRoundTilePreviews: TileProvider does not have round and square previews](SquareAndRoundTilePreviews.md.html) - [StartActivityAndCollapseDeprecated: TileService.startActivityAndCollapse(Intent) is deprecated](StartActivityAndCollapseDeprecated.md.html) - [StrandhoggVulnerable: Application vulnerable to Strandhogg attacks](StrandhoggVulnerable.md.html) - [SuspiciousCompositionLocalModifierRead: CompositionLocals should not be read in Modifier.onAttach() or Modifier.onDetach()](SuspiciousCompositionLocalModifierRead.md.html) + - [SystemPermissionTypo: Permission appears to be a standard permission with a typo](SystemPermissionTypo.md.html) - [TapjackingVulnerable: Application's UI is vulnerable to tapjacking attacks](TapjackingVulnerable.md.html) + - [TilePreviewImageFormat: Tile preview is not compliant with standards](TilePreviewImageFormat.md.html) - [UnintendedExposedUrl: Application may have a debugging or development URL publicly exposed](UnintendedExposedUrl.md.html) - [UnintendedPrivateIpAddress: Application may have a private IP address publicly exposed](UnintendedPrivateIpAddress.md.html) - [UnrememberedMutableInteractionSource: Creating a MutableInteractionSource during composition without using `remember`](UnrememberedMutableInteractionSource.md.html) - [UnsafeCryptoAlgorithmUsage: Application uses unsafe cipher modes or paddings with cryptographic algorithms](UnsafeCryptoAlgorithmUsage.md.html) + - [UnsafeImplicitIntentLaunch: Implicit intent matches an internal non-exported component](UnsafeImplicitIntentLaunch.md.html) + - [UnsafeIntentLaunch: Launched Unsafe Intent](UnsafeIntentLaunch.md.html) + - [UnspecifiedRegisterReceiverFlag: Missing `registerReceiver()` exported flag](UnspecifiedRegisterReceiverFlag.md.html) - [UnusedBoxWithConstraintsScope: BoxWithConstraints content should use the constraints provided via BoxWithConstraintsScope](UnusedBoxWithConstraintsScope.md.html) - [UnusedContentLambdaTargetStateParameter: AnimatedContent calls should use the provided `T` parameter in the content lambda](UnusedContentLambdaTargetStateParameter.md.html) - [UnusedTargetStateInContentKeyLambda: `contentKey` lambda in AnimatedContent should always use the provided `T` parameter](UnusedTargetStateInContentKeyLambda.md.html) + - [UnusedTranslation: Unused Translation](UnusedTranslation.md.html) + - [UseTomlInstead: Use TOML Version Catalog Instead](UseTomlInstead.md.html) - [UsingMaterialAndMaterial3Libraries: material and material3 are separate, incompatible design system libraries](UsingMaterialAndMaterial3Libraries.md.html) - [VulnerableCryptoAlgorithm: Application uses vulnerable cryptography algorithms](VulnerableCryptoAlgorithm.md.html) - [WeakPrng: Application uses non-cryptographically secure pseudorandom number generators](WeakPrng.md.html) @@ -113,66 +160,65 @@ - [WearPasswordInput: Wear: Using password input](WearPasswordInput.md.html) - [WearRecents: Wear OS: Recents and app resume](WearRecents.md.html) - [WearSplashScreen: Wear: Use `SplashScreen` library](WearSplashScreen.md.html) - - [WrongCommentType: Wrong Comment Type](WrongCommentType.md.html) -* 2022 (49) +* 2022 (50) - - [ActivityIconColor: Ongoing activity icon is not white](ActivityIconColor.md.html) - - [BinderGetCallingInMainThread: Incorrect usage of getCallingUid() or getCallingPid()](BinderGetCallingInMainThread.md.html) + - [AppBundleLocaleChanges: App Bundle handling of runtime locale changes](AppBundleLocaleChanges.md.html) + - [AssertionSideEffect: Assertions with Side Effects](AssertionSideEffect.md.html) + - [BidiSpoofing: Bidirectional text spoofing](BidiSpoofing.md.html) - [ComposeM2Api: Using a Compose M2 API is not recommended](ComposeM2Api.md.html) - - [CustomPermissionTypo: Permission appears to be a custom permission with a typo](CustomPermissionTypo.md.html) + - [DataExtractionRules: Missing data extraction rules](DataExtractionRules.md.html) - [DeepLinkInActivityDestination: A should not be attached to an destination](DeepLinkInActivityDestination.md.html) + - [DefaultEncoding: Using Default Character Encoding](DefaultEncoding.md.html) - [DenyListedApi: Deny-listed API](DenyListedApi.md.html) - [DenyListedBlockingApi: Deny-listed API](DenyListedBlockingApi.md.html) - [DeprecatedSinceApi: Using a method deprecated in earlier SDK](DeprecatedSinceApi.md.html) + - [DiscouragedApi: Using discouraged APIs](DiscouragedApi.md.html) - [DoNotExposeEitherNetInRepositories: Repository APIs should not expose EitherNet types directly](DoNotExposeEitherNetInRepositories.md.html) - [EmptyNavDeepLink: NavDeepLink must define an uri, action, and/or mimetype to be valid](EmptyNavDeepLink.md.html) - [EmptySuperCall: Calling an empty super method](EmptySuperCall.md.html) + - [FileEndsWithExt: File endsWith on file extensions](FileEndsWithExt.md.html) - [FrequentlyChangedStateReadInComposition: Frequently changing state should not be directly read in composable function](FrequentlyChangedStateReadInComposition.md.html) - [FullyQualifiedResource: Resources should use an import alias instead of being fully qualified](FullyQualifiedResource.md.html) - - [GestureBackNavigation: Usage of KeyEvent.KEYCODE_BACK](GestureBackNavigation.md.html) - [IncorrectChainMarginsUsage: Use `LayoutReference.withChainParams()` to define margins for elements in a Chain](IncorrectChainMarginsUsage.md.html) - [IncorrectMatchParentUsage: Prefer using `Dimension.percent(1f)` when defining custom constraints](IncorrectMatchParentUsage.md.html) - [IncorrectReferencesDeclaration: `createRefsFor(vararg ids: Any)` should have at least one argument and match assigned variables](IncorrectReferencesDeclaration.md.html) + - [IntentFilterExportedReceiver: Unspecified `android:exported` in manifest](IntentFilterExportedReceiver.md.html) + - [IntentFilterUniqueDataAttributes: Data tags should only declare unique attributes](IntentFilterUniqueDataAttributes.md.html) - [InternalInsetResource: Using internal inset dimension resource](InternalInsetResource.md.html) - - [KnownPermissionError: Value specified for permission is a known error](KnownPermissionError.md.html) - [KotlinNullnessAnnotation: Kotlin nullability annotation](KotlinNullnessAnnotation.md.html) - - [KotlincFE10: Avoid using old K1 Kotlin compiler APIs](KotlincFE10.md.html) - [MissingInflatedId: ID not found in inflated resource](MissingInflatedId.md.html) - [MissingResourceImportAlias: Missing import alias for R class](MissingResourceImportAlias.md.html) - - [MonochromeLauncherIcon: Monochrome icon is not defined](MonochromeLauncherIcon.md.html) + - [MotionLayoutMissingId: Views inside `MotionLayout` require an `android:id`](MotionLayoutMissingId.md.html) - [MultipleAwaitPointerEventScopes: Suspicious use of multiple awaitPointerEventScope blocks. Using multiple awaitPointerEventScope blocks may cause some input events to be dropped.](MultipleAwaitPointerEventScopes.md.html) - [MustUseNamedParams: Calls to @MustUseNamedParams-annotated methods must name all parameters](MustUseNamedParams.md.html) + - [NotConstructor: Not a Constructor](NotConstructor.md.html) - [NotificationId0: Notification Id is 0](NotificationId0.md.html) - - [NotificationPermission: Notifications Without Permission](NotificationPermission.md.html) - [OpenForTesting: Extending API only allowed from tests](OpenForTesting.md.html) - - [PermissionNamingConvention: Permission name does not follow recommended convention](PermissionNamingConvention.md.html) - - [ProviderReadPermissionOnly: Provider with readPermission only and implemented write APIs](ProviderReadPermissionOnly.md.html) - - [ReportShortcutUsage: Report shortcut usage](ReportShortcutUsage.md.html) - - [ReservedSystemPermission: Permission name is a reserved Android permission](ReservedSystemPermission.md.html) + - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) + - [RedundantLabel: Redundant label on activity](RedundantLabel.md.html) - [ReturnFromAwaitPointerEventScope: Returning from awaitPointerEventScope may cause some input events to be dropped](ReturnFromAwaitPointerEventScope.md.html) - [ReturnThis: Method must return `this`](ReturnThis.md.html) - - [SelectedPhotoAccess: Behavior change when requesting photo library access](SelectedPhotoAccess.md.html) - - [SetAndClearCommunicationDevice: Clearing communication device](SetAndClearCommunicationDevice.md.html) - [StringEscaping: Invalid string escapes](StringEscaping.md.html) - - [SystemPermissionTypo: Permission appears to be a standard permission with a typo](SystemPermissionTypo.md.html) + - [StringFormatTrivial: `String.format` string only contains trivial conversions](StringFormatTrivial.md.html) + - [SuspiciousIndentation: Suspicious indentation](SuspiciousIndentation.md.html) - [TestManifestGradleConfiguration: The ui-test-manifest library should be included using the debugImplementation configuration](TestManifestGradleConfiguration.md.html) - - [UnsafeImplicitIntentLaunch: Implicit intent matches an internal non-exported component](UnsafeImplicitIntentLaunch.md.html) - - [UnsafeIntentLaunch: Launched Unsafe Intent](UnsafeIntentLaunch.md.html) - - [UnspecifiedRegisterReceiverFlag: Missing `registerReceiver()` exported flag](UnspecifiedRegisterReceiverFlag.md.html) + - [UastImplementation: Avoid using UAST implementation](UastImplementation.md.html) - [UnusedMaterial3ScaffoldPaddingParameter: Scaffold content should use the padding provided as a lambda parameter](UnusedMaterial3ScaffoldPaddingParameter.md.html) - [UnusedMaterialScaffoldPaddingParameter: Scaffold content should use the padding provided as a lambda parameter](UnusedMaterialScaffoldPaddingParameter.md.html) - - [UnusedTranslation: Unused Translation](UnusedTranslation.md.html) - [UseOfNonLambdaOffsetOverload: Modifier.offset{ } is preferred over Modifier.offset() for `State` backed arguments](UseOfNonLambdaOffsetOverload.md.html) - - [UseSdkSuppress: Using `@SdkSuppress` instead of `@RequiresApi`](UseSdkSuppress.md.html) + - [ViewBindingType: `tools:viewBindingType` issues](ViewBindingType.md.html) + - [WatchFaceForAndroidX: AndroidX watch faces must use action `WATCH_FACE_EDITOR`](WatchFaceForAndroidX.md.html) + - [WearableActionDuplicate: Duplicate watch face configuration activities found](WearableActionDuplicate.md.html) + - [WearableConfigurationAction: Wear configuration action metadata must match an activity](WearableConfigurationAction.md.html) + - [WebViewClientOnReceivedSslError: Proceeds with the HTTPS connection despite SSL errors](WebViewClientOnReceivedSslError.md.html) - [WrongResourceImportAlias: Wrong import alias for this R class](WrongResourceImportAlias.md.html) -* 2021 (130) +* 2021 (124) - [AnnotateVersionCheck: Annotate SDK_INT checks](AnnotateVersionCheck.md.html) - - [AppBundleLocaleChanges: App Bundle handling of runtime locale changes](AppBundleLocaleChanges.md.html) + - [AppLinksAutoVerify: App Links Auto Verification Failure](AppLinksAutoVerify.md.html) - [ArgInFormattedQuantityStringRes: Count value in formatted string resource](ArgInFormattedQuantityStringRes.md.html) - - [BidiSpoofing: Bidirectional text spoofing](BidiSpoofing.md.html) - [BindingReceiverParameter: @Binds/@Provides functions cannot be extensions](BindingReceiverParameter.md.html) - [BindingReturnType: @Binds/@Provides must have a return type](BindingReturnType.md.html) - [BindsMustBeAbstract: @Binds functions must be abstract](BindsMustBeAbstract.md.html) @@ -185,11 +231,10 @@ - [ConflictingOnColor: Background colors with the same value should have the same 'on' color](ConflictingOnColor.md.html) - [CoroutineCreationDuringComposition: Calls to `async` or `launch` should happen inside a LaunchedEffect and not composition](CoroutineCreationDuringComposition.md.html) - [CustomSplashScreen: Application-defined Launch Screen](CustomSplashScreen.md.html) - - [DefaultEncoding: Using Default Character Encoding](DefaultEncoding.md.html) + - [CustomX509TrustManager: Implements custom TLS trust manager](CustomX509TrustManager.md.html) - [DeprecatedCall: This class or method is deprecated; consider using an alternative](DeprecatedCall.md.html) - [DeprecatedSqlUsage: Use SqlDelight](DeprecatedSqlUsage.md.html) - [DialogFragmentCallbacksDetector: Use onCancel() and onDismiss() instead of calling setOnCancelListener() and setOnDismissListener() from onCreateDialog()](DialogFragmentCallbacksDetector.md.html) - - [DiscouragedApi: Using discouraged APIs](DiscouragedApi.md.html) - [DoNotCallProviders: Dagger provider methods should not be called directly by user code](DoNotCallProviders.md.html) - [DoNotMock: ](DoNotMock.md.html) - [DoNotMockAnything: Do not add new mocks](DoNotMockAnything.md.html) @@ -201,8 +246,8 @@ - [DoNotMockSealedClass: sealed classes have a restricted type hierarchy, use a subtype instead](DoNotMockSealedClass.md.html) - [ErrorProneDoNotMockUsage: Use Slack's internal `@DoNotMock` annotation](ErrorProneDoNotMockUsage.md.html) - [ExperimentalAnnotationRetention: Experimental annotation with incorrect retention](ExperimentalAnnotationRetention.md.html) - - [FileEndsWithExt: File endsWith on file extensions](FileEndsWithExt.md.html) - [FlowOperatorInvokedInComposition: Flow operator functions should not be invoked within composition](FlowOperatorInvokedInComposition.md.html) + - [FontValidation: Validation of font files](FontValidation.md.html) - [FragmentConstructorInjection: Fragment dependencies should be injected using constructor injections only](FragmentConstructorInjection.md.html) - [FragmentFieldInjection: Fragment dependencies should be injected using the Fragment's constructor](FragmentFieldInjection.md.html) - [GuavaChecksUsed: Use Slack's JavaPreconditions instead of Guava's Preconditions checks](GuavaChecksUsed.md.html) @@ -212,11 +257,15 @@ - [InclusiveNaming: Use inclusive naming](InclusiveNaming.md.html) - [InjectInJava: Only Kotlin classes should be injected in order for Anvil to work](InjectInJava.md.html) - [InvalidColorHexValue: Invalid Color hex value](InvalidColorHexValue.md.html) + - [JavaPluginLanguageLevel: No Explicit Java Language Level Given](JavaPluginLanguageLevel.md.html) + - [JcenterRepositoryObsolete: JCenter Maven repository is read-only](JcenterRepositoryObsolete.md.html) - [KotlinPairNotCreated: Use Kotlin's kotlin.Pair instead of other Pair types from other libraries like AndroidX and Slack commons](KotlinPairNotCreated.md.html) - [LaunchDuringComposition: Calls to `launch` should happen inside of a SideEffect and not during composition](LaunchDuringComposition.md.html) - [LeanbackUsesWifi: Using android.hardware.wifi on TV](LeanbackUsesWifi.md.html) + - [LintDocExample: Missing Documentation Example](LintDocExample.md.html) - [MainScopeUsage: Use slack.foundation.coroutines.android.MainScope](MainScopeUsage.md.html) - [MissingColorAlphaChannel: Missing Color alpha channel](MissingColorAlphaChannel.md.html) + - [MissingPrefix: Missing Android XML namespace](MissingPrefix.md.html) - [MoshiUsageAdaptedByRequiresAdapter: @AdaptedBy.adapter must be a JsonAdapter or JsonAdapter.Factory](MoshiUsageAdaptedByRequiresAdapter.md.html) - [MoshiUsageAdaptedByRequiresKeep: Adapters targeted by @AdaptedBy must have @Keep](MoshiUsageAdaptedByRequiresKeep.md.html) - [MoshiUsageArray: Prefer List over Array](MoshiUsageArray.md.html) @@ -260,31 +309,28 @@ - [MoshiUsageUnsupportedType: This type cannot be annotated with @JsonClass](MoshiUsageUnsupportedType.md.html) - [MoshiUsageUseData: Model classes should be immutable data classes](MoshiUsageUseData.md.html) - [MoshiUsageVarProperty: Moshi properties should be immutable](MoshiUsageVarProperty.md.html) - - [MotionLayoutMissingId: Views inside `MotionLayout` require an `android:id`](MotionLayoutMissingId.md.html) - [MustBeInModule: @Binds/@Provides functions must be in modules](MustBeInModule.md.html) - [MutableCollectionMutableState: Creating a MutableState object with a mutable collection type](MutableCollectionMutableState.md.html) - - [NoOp: NoOp Code](NoOp.md.html) - - [NotConstructor: Not a Constructor](NotConstructor.md.html) + - [MutatingSharedPrefs: Mutating an Immutable SharedPrefs Set](MutatingSharedPrefs.md.html) + - [NotifyDataSetChanged: Invalidating All RecyclerView Data](NotifyDataSetChanged.md.html) - [ProduceStateDoesNotAssignValue: produceState calls should assign `value` inside the producer lambda](ProduceStateDoesNotAssignValue.md.html) - [ProvidesMustNotBeAbstract: @Provides functions cannot be abstract](ProvidesMustNotBeAbstract.md.html) - [RawDispatchersUse: Use SlackDispatchers](RawDispatchersUse.md.html) - [RedactedInJavaUsage: @Redacted is only supported in Kotlin classes](RedactedInJavaUsage.md.html) - [RedundantBinds: @Binds functions should return a different type](RedundantBinds.md.html) - [RememberSaveableSaverParameter: `Saver` objects should be passed to the saver parameter, not the vararg `inputs` parameter](RememberSaveableSaverParameter.md.html) + - [RemoteViewLayout: Unsupported View in RemoteView](RemoteViewLayout.md.html) - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage.md.html) - [RepeatOnLifecycleWrongUsage: Wrong usage of repeatOnLifecycle](RepeatOnLifecycleWrongUsage-2.md.html) - [RestrictCallsTo: Methods annotated with @RestrictedCallsTo should only be called from the specified scope](RestrictCallsTo.md.html) - [RetrofitUsage: This is replaced by the caller](RetrofitUsage.md.html) - [SerializableUsage: Don't use Serializable](SerializableUsage.md.html) - [SpanMarkPointMissingMask: Check that Span flags use the bitwise mask SPAN_POINT_MARK_MASK when being compared to](SpanMarkPointMissingMask.md.html) - - [SquareAndRoundTilePreviews: TileProvider does not have round and square previews](SquareAndRoundTilePreviews.md.html) - [StateFlowValueCalledInComposition: StateFlow.value should not be called within composition](StateFlowValueCalledInComposition.md.html) - [SubscribeOnMain: subscribeOn called with the main thread scheduler](SubscribeOnMain.md.html) - - [SuspiciousIndentation: Suspicious indentation](SuspiciousIndentation.md.html) - [TestLifecycleOwnerInCoroutine: Use the suspending function setCurrentState(), rather than directly accessing the currentState property](TestLifecycleOwnerInCoroutine.md.html) - - [TilePreviewImageFormat: Tile preview is not compliant with standards](TilePreviewImageFormat.md.html) - [TileProviderPermissions: TileProvider does not set permission](TileProviderPermissions.md.html) - - [UastImplementation: Avoid using UAST implementation](UastImplementation.md.html) + - [TrustAllX509TrustManager: Insecure TLS/SSL trust manager](TrustAllX509TrustManager.md.html) - [UnnecessaryComposedModifier: Modifier.composed should only be used for modifiers that invoke @Composable functions](UnnecessaryComposedModifier.md.html) - [UnrememberedAnimatable: Creating an Animatable during composition without using `remember`](UnrememberedAnimatable.md.html) - [UnrememberedGetBackStackEntry: Calling getBackStackEntry during composition without using `remember`with a NavBackStackEntry key](UnrememberedGetBackStackEntry.md.html) @@ -292,32 +338,30 @@ - [UnusedCrossfadeTargetStateParameter: Crossfade calls should use the provided `T` parameter in the content lambda](UnusedCrossfadeTargetStateParameter.md.html) - [UnusedTransitionTargetStateParameter: Transition.animate* calls should use the provided targetState when defining values](UnusedTransitionTargetStateParameter.md.html) - [UseGetLayoutInflater: Use getLayoutInflater() to get the LayoutInflater instead of calling LayoutInflater.from(Context)](UseGetLayoutInflater.md.html) - - [ViewBindingType: `tools:viewBindingType` issues](ViewBindingType.md.html) - [WatchFaceEditor: Watch face editor must use launchMode="standard"](WatchFaceEditor.md.html) - - [WatchFaceForAndroidX: AndroidX watch faces must use action `WATCH_FACE_EDITOR`](WatchFaceForAndroidX.md.html) - - [WearableActionDuplicate: Duplicate watch face configuration activities found](WearableActionDuplicate.md.html) - - [WearableConfigurationAction: Wear configuration action metadata must match an activity](WearableConfigurationAction.md.html) - - [WebViewClientOnReceivedSslError: Proceeds with the HTTPS connection despite SSL errors](WebViewClientOnReceivedSslError.md.html) - [WrongRequiresOptIn: Experimental annotations defined in Kotlin must use kotlin.RequiresOptIn](WrongRequiresOptIn.md.html) -* 2020 (55) +* 2020 (66) + - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) + - [AnnotationProcessorOnCompilePath: Annotation Processor on Compile Classpath](AnnotationProcessorOnCompilePath.md.html) + - [BrokenIterator: Broken Iterator](BrokenIterator.md.html) - [ComposableLambdaParameterNaming: Primary composable lambda parameter not named `content`](ComposableLambdaParameterNaming.md.html) - [ComposableLambdaParameterPosition: Non-trailing primary composable lambda parameter](ComposableLambdaParameterPosition.md.html) - [ComposableNaming: Incorrect naming for @Composable functions](ComposableNaming.md.html) - [CompositionLocalNaming: CompositionLocal properties should be prefixed with `Local`](CompositionLocalNaming.md.html) - [EnsureInitializerMetadata: Every Initializer needs to be accompanied by a corresponding entry in the AndroidManifest.xml file](EnsureInitializerMetadata.md.html) - [EnsureInitializerNoArgConstr: Missing Initializer no-arg constructor](EnsureInitializerNoArgConstr.md.html) + - [ExpensiveAssertion: Expensive Assertions](ExpensiveAssertion.md.html) - [FieldSiteTargetOnQualifierAnnotation: Redundant 'field:' used for Dagger qualifier annotation](FieldSiteTargetOnQualifierAnnotation.md.html) - [IdleBatteryChargingConstraints: Constraints may not be met for some devices](IdleBatteryChargingConstraints.md.html) - - [IntentFilterExportedReceiver: Unspecified `android:exported` in manifest](IntentFilterExportedReceiver.md.html) - [InvalidFragmentVersionForActivityResult: Update to Fragment 1.3.0 to use ActivityResult APIs](InvalidFragmentVersionForActivityResult.md.html) - [InvalidPeriodicWorkRequestInterval: Invalid interval duration](InvalidPeriodicWorkRequestInterval.md.html) - [InvalidSetHasFixedSize: When using `setHasFixedSize()` in an `RecyclerView`, `wrap_content` cannot be used as a value for `size` in the scrolling direction.](InvalidSetHasFixedSize.md.html) - [JavaOnlyDetector: Using @JavaOnly elements in Kotlin code](JavaOnlyDetector.md.html) - [JvmStaticProvidesInObjectDetector: @JvmStatic used for @Provides function in an object class](JvmStaticProvidesInObjectDetector.md.html) + - [KtxExtensionAvailable: KTX Extension Available](KtxExtensionAvailable.md.html) - [LaunchActivityFromNotification: Notification Launches Services or BroadcastReceivers](LaunchActivityFromNotification.md.html) - - [LintDocExample: Missing Documentation Example](LintDocExample.md.html) - [LintImplBadUrl: Bad More Info Link](LintImplBadUrl.md.html) - [LintImplDollarEscapes: Using Dollar Escapes](LintImplDollarEscapes.md.html) - [LintImplIdFormat: Lint ID Format](LintImplIdFormat.md.html) @@ -327,25 +371,31 @@ - [LintImplUnexpectedDomain: Unexpected URL Domain](LintImplUnexpectedDomain.md.html) - [LintImplUseKotlin: Non-Kotlin Lint Detectors](LintImplUseKotlin.md.html) - [LintImplUseUast: Using Wrong UAST Method](LintImplUseUast.md.html) + - [LockedOrientationActivity: Incompatible screenOrientation value](LockedOrientationActivity.md.html) + - [MissingClass: Missing registered class](MissingClass.md.html) - [ModifierFactoryExtensionFunction: Modifier factory functions should be extensions on Modifier](ModifierFactoryExtensionFunction.md.html) - [ModifierFactoryReturnType: Modifier factory functions should return Modifier](ModifierFactoryReturnType.md.html) - [ModifierFactoryUnreferencedReceiver: Modifier factory functions must use the receiver Modifier instance](ModifierFactoryUnreferencedReceiver.md.html) - [ModifierParameter: Guidelines for Modifier parameters in a Composable function](ModifierParameter.md.html) - [ModuleCompanionObjects: Module companion objects should not be annotated with @Module](ModuleCompanionObjects.md.html) - [ModuleCompanionObjectsNotInModuleParent: Companion objects should not be annotated with @Module](ModuleCompanionObjectsNotInModuleParent.md.html) - - [MutatingSharedPrefs: Mutating an Immutable SharedPrefs Set](MutatingSharedPrefs.md.html) + - [MotionLayoutInvalidSceneFileReference: layoutDescription must specify a scene file](MotionLayoutInvalidSceneFileReference.md.html) + - [MotionSceneFileValidationError: Validation errors in `MotionScene` files](MotionSceneFileValidationError.md.html) - [NonConstantResourceId: Checks use of resource IDs in places requiring constants](NonConstantResourceId.md.html) + - [NonResizeableActivity: Activity is set to be non-resizeable](NonResizeableActivity.md.html) - [NotificationTrampoline: Notification Trampolines](NotificationTrampoline.md.html) - [QueryAllPackagesPermission: Using the QUERY_ALL_PACKAGES permission](QueryAllPackagesPermission.md.html) - [QueryPermissionsNeeded: Using APIs affected by query permissions](QueryPermissionsNeeded.md.html) - [RememberReturnType: `remember` calls must not return `Unit`](RememberReturnType.md.html) - - [RemoteViewLayout: Unsupported View in RemoteView](RemoteViewLayout.md.html) - [ScopedStorage: Affected by scoped storage](ScopedStorage.md.html) + - [SourceLockedOrientationActivity: Incompatible setRequestedOrientation value](SourceLockedOrientationActivity.md.html) - [SpecifyForegroundServiceType: Specify foreground service type](SpecifyForegroundServiceType.md.html) - [SpecifyJobSchedulerIdRange: Specify a range of JobScheduler ids](SpecifyJobSchedulerIdRange.md.html) - [UnrememberedMutableState: Creating a state object during composition without using `remember`](UnrememberedMutableState.md.html) - [UnspecifiedImmutableFlag: Missing `PendingIntent` mutability flag](UnspecifiedImmutableFlag.md.html) + - [UnsupportedChromeOsCameraSystemFeature: Looking for Rear Camera only feature](UnsupportedChromeOsCameraSystemFeature.md.html) - [UseAppTint: `app:tint` attribute should be used on `ImageView` and `ImageButton`](UseAppTint.md.html) + - [UseCheckPermission: Using the result of check permission calls](UseCheckPermission.md.html) - [UseCompatLoadingForColorStateLists: Should not call `Resources.getColorStateList` directly](UseCompatLoadingForColorStateLists.md.html) - [UseCompatLoadingForDrawables: Should not call `Context.getDrawable` or `Resources.getDrawable` directly](UseCompatLoadingForDrawables.md.html) - [UseCompatTextViewDrawableApis: Should not call `TextView.setCompoundDrawableTintList` or `TextView.setCompoundDrawableTintMode` directly](UseCompatTextViewDrawableApis.md.html) @@ -356,252 +406,238 @@ - [UseSwitchCompatOrMaterialCode: Replace usage of `Switch` widget](UseSwitchCompatOrMaterialCode.md.html) - [UseSwitchCompatOrMaterialXml: Replace usage of `Switch` widget](UseSwitchCompatOrMaterialXml.md.html) - [UsingOnClickInXml: Using `android:onClick` on older version of the platform is broken](UsingOnClickInXml.md.html) + - [WebViewApiAvailability: WebView API Availability](WebViewApiAvailability.md.html) + - [WeekBasedYear: Week Based Year](WeekBasedYear.md.html) - [WorkerHasAPublicModifier: ListenableWorkers constructed using the default WorkerFactories need to be public](WorkerHasAPublicModifier.md.html) -* 2019 (23) +* 2019 (33) - [AutoDispose: Missing Disposable handling: Apply AutoDispose or cache the Disposable instance manually and enable lenient mode](AutoDispose.md.html) - [BadConfigurationProvider: Invalid WorkManager Configuration Provider](BadConfigurationProvider.md.html) - [BadPeriodicWorkRequestEnqueue: Use `enqueueUniquePeriodicWork()` instead of `enqueue()`](BadPeriodicWorkRequestEnqueue.md.html) - - [BrokenIterator: Broken Iterator](BrokenIterator.md.html) + - [BlockedPrivateApi: Using Blocked Private API](BlockedPrivateApi.md.html) + - [DataBindingWithoutKapt: Data Binding without Annotation Processing](DataBindingWithoutKapt.md.html) - [DetachAndAttachSameFragment: Separate attach() and detach() into separate FragmentTransactions](DetachAndAttachSameFragment.md.html) + - [DiffUtilEquals: Suspicious DiffUtil Equality](DiffUtilEquals.md.html) + - [DiscouragedPrivateApi: Using Discouraged Private API](DiscouragedPrivateApi.md.html) + - [DuplicateStrings: Duplicate Strings](DuplicateStrings.md.html) - [FragmentAddMenuProvider: Use getViewLifecycleOwner() as the LifecycleOwner instead of a Fragment instance](FragmentAddMenuProvider.md.html) - [FragmentBackPressedCallback: Use getViewLifecycleOwner() as the LifecycleOwner instead of a Fragment instance](FragmentBackPressedCallback.md.html) - [FragmentGradleConfiguration: Include the fragment-testing library using the debugImplementation configuration](FragmentGradleConfiguration.md.html) - [FragmentGradleConfiguration: Include the fragment-testing-manifest library using the debugImplementation configuration](FragmentGradleConfiguration-2.md.html) - [FragmentLiveDataObserve: Use getViewLifecycleOwner() as the LifecycleOwner instead of a Fragment instance when observing a LiveData object](FragmentLiveDataObserve.md.html) - [FragmentTagUsage: Use FragmentContainerView instead of the tag](FragmentTagUsage.md.html) - - [MotionLayoutInvalidSceneFileReference: layoutDescription must specify a scene file](MotionLayoutInvalidSceneFileReference.md.html) - - [MotionSceneFileValidationError: Validation errors in `MotionScene` files](MotionSceneFileValidationError.md.html) + - [GradleDeprecatedConfiguration: Deprecated Gradle Configuration](GradleDeprecatedConfiguration.md.html) + - [IgnoreWithoutReason: @Ignore without Reason](IgnoreWithoutReason.md.html) + - [ImplicitSamInstance: Implicit SAM Instances](ImplicitSamInstance.md.html) + - [InsecureBaseConfiguration: Insecure Base Configuration](InsecureBaseConfiguration.md.html) + - [LifecycleAnnotationProcessorWithJava8: Lifecycle Annotation Processor with Java 8 Compile Option](LifecycleAnnotationProcessorWithJava8.md.html) - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData.md.html) - [NullSafeMutableLiveData: LiveData value assignment nullability mismatch](NullSafeMutableLiveData-2.md.html) + - [RedundantNamespace: Redundant namespace](RedundantNamespace.md.html) - [RemoveWorkManagerInitializer: Remove androidx.work.WorkManagerInitializer from your AndroidManifest.xml when using on-demand initialization](RemoveWorkManagerInitializer.md.html) + - [SoonBlockedPrivateApi: Using Soon-to-Be Blocked Private API](SoonBlockedPrivateApi.md.html) - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage.md.html) - [UnsafeLifecycleWhenUsage: Unsafe UI operation in finally/catch of Lifecycle.whenStarted of similar method](UnsafeLifecycleWhenUsage-2.md.html) - [UnsafeOptInUsageError: Unsafe opt-in usage intended to be error-level severity](UnsafeOptInUsageError.md.html) - [UnsafeOptInUsageWarning: Unsafe opt-in usage intended to be warning-level severity](UnsafeOptInUsageWarning.md.html) + - [UsableSpace: Using getUsableSpace()](UsableSpace.md.html) - [UseAndroidAlpha: `android:alpha` attribute missing on `ColorStateList`](UseAndroidAlpha.md.html) - - [WebViewApiAvailability: WebView API Availability](WebViewApiAvailability.md.html) + - [UsingC2DM: Using C2DM](UsingC2DM.md.html) - [XmlEscapeNeeded: Missing XML Escape](XmlEscapeNeeded.md.html) -* 2018 (31) +* 2018 (40) + - [AppIndexingService: App Indexing Background Services](AppIndexingService.md.html) - [Autofill: Use Autofill](Autofill.md.html) - [BottomAppBar: BottomAppBar Problems](BottomAppBar.md.html) - [CanvasSize: Wrong Canvas Size](CanvasSize.md.html) - - [ChromeOsOnConfigurationChanged: Poor performance with APIs inside `onConfigurationChanged()`](ChromeOsOnConfigurationChanged.md.html) + - [CheckResult: Ignoring results](CheckResult.md.html) + - [ConstantLocale: Constant Locale](ConstantLocale.md.html) - [DeletedProvider: Using Deleted Provider](DeletedProvider.md.html) - - [DiffUtilEquals: Suspicious DiffUtil Equality](DiffUtilEquals.md.html) - - [DuplicateStrings: Duplicate Strings](DuplicateStrings.md.html) + - [DeprecatedProvider: Using BC Provider](DeprecatedProvider.md.html) - [EnqueueWork: WorkManager Enqueue](EnqueueWork.md.html) + - [ExpiredTargetSdkVersion: TargetSdkVersion No Longer Supported](ExpiredTargetSdkVersion.md.html) + - [ExpiringTargetSdkVersion: TargetSdkVersion Soon Expiring](ExpiringTargetSdkVersion.md.html) - [ExtraTranslation: Extra translation](ExtraTranslation.md.html) - - [IgnoreWithoutReason: @Ignore without Reason](IgnoreWithoutReason.md.html) - - [ImplicitSamInstance: Implicit SAM Instances](ImplicitSamInstance.md.html) + - [HalfFloat: Incorrect Half Float](HalfFloat.md.html) - [IntentReset: Suspicious mix of `setType` and `setData`](IntentReset.md.html) - [InvalidNavigation: No start destination specified](InvalidNavigation.md.html) - [InvalidWakeLockTag: Invalid Wake Lock Tag](InvalidWakeLockTag.md.html) - [KotlinPropertyAccess: Kotlin Property Access](KotlinPropertyAccess.md.html) - [LambdaLast: Lambda Parameters Last](LambdaLast.md.html) - - [MissingConstraints: Missing Constraints in ConstraintLayout](MissingConstraints.md.html) - [MissingDefaultResource: Missing Default](MissingDefaultResource.md.html) + - [MissingPermission: Missing Permissions](MissingPermission.md.html) - [MissingTranslation: Incomplete translation](MissingTranslation.md.html) - [NoHardKeywords: No Hard Kotlin Keywords](NoHardKeywords.md.html) + - [NotificationIconCompatibility: Notification Icon Compatibility](NotificationIconCompatibility.md.html) + - [OutdatedLibrary: Outdated Library](OutdatedLibrary.md.html) + - [ProxyPassword: Proxy Password in Cleartext](ProxyPassword.md.html) + - [Range: Outside Range](Range.md.html) - [RequiresFeature: Requires Feature](RequiresFeature.md.html) + - [ResourceAsColor: Should pass resolved color instead of resource id](ResourceAsColor.md.html) + - [ResourceType: Wrong Resource Type](ResourceType.md.html) + - [RestrictedApi: Restricted API](RestrictedApi.md.html) + - [RiskyLibrary: Libraries with Privacy or Security Risks](RiskyLibrary.md.html) - [Slices: Slices](Slices.md.html) - - [SourceLockedOrientationActivity: Incompatible setRequestedOrientation value](SourceLockedOrientationActivity.md.html) - [SyntheticAccessor: Synthetic Accessor](SyntheticAccessor.md.html) - [TranslucentOrientation: Mixing screenOrientation and translucency](TranslucentOrientation.md.html) - [UnknownNullness: Unknown nullness](UnknownNullness.md.html) - - [UnsupportedChromeOsCameraSystemFeature: Looking for Rear Camera only feature](UnsupportedChromeOsCameraSystemFeature.md.html) - [Untranslatable: Translated Untranslatable](Untranslatable.md.html) - - [UsableSpace: Using getUsableSpace()](UsableSpace.md.html) - - [UsingC2DM: Using C2DM](UsingC2DM.md.html) - [ValidActionsXml: Invalid Action Descriptor](ValidActionsXml.md.html) - -* 2017 (33) - - - [AppLinkSplitToWebAndCustom: Android App links should only use http(s) schemes](AppLinkSplitToWebAndCustom.md.html) - - [AppLinkUrlError: URI invalid](AppLinkUrlError.md.html) - - [AppLinkWarning: App Link warning](AppLinkWarning.md.html) - - [BlockedPrivateApi: Using Blocked Private API](BlockedPrivateApi.md.html) - - [CheckResult: Ignoring results](CheckResult.md.html) - - [DiscouragedPrivateApi: Using Discouraged Private API](DiscouragedPrivateApi.md.html) - - [EllipsizeMaxLines: Combining Ellipsize and Maxlines](EllipsizeMaxLines.md.html) - - [FontValidation: Validation of font files](FontValidation.md.html) - - [HalfFloat: Incorrect Half Float](HalfFloat.md.html) - - [InstantApps: Instant App Issues](InstantApps.md.html) - - [IntentFilterUniqueDataAttributes: Data tags should only declare unique attributes](IntentFilterUniqueDataAttributes.md.html) - - [InvalidImeActionId: Invalid imeActionId declaration](InvalidImeActionId.md.html) - - [InvalidVectorPath: Invalid vector paths](InvalidVectorPath.md.html) - - [JobSchedulerService: JobScheduler problems](JobSchedulerService.md.html) - - [KeyboardInaccessibleWidget: Keyboard inaccessible widget](KeyboardInaccessibleWidget.md.html) - - [MissingPermission: Missing Permissions](MissingPermission.md.html) - - [PrivateApi: Using Private APIs](PrivateApi.md.html) - - [Range: Outside Range](Range.md.html) - - [ResourceAsColor: Should pass resolved color instead of resource id](ResourceAsColor.md.html) - - [ResourceType: Wrong Resource Type](ResourceType.md.html) - - [RestrictedApi: Restricted API](RestrictedApi.md.html) - - [RtlCompat: Right-to-left text compatibility issues](RtlCompat.md.html) - - [RtlEnabled: Using RTL attributes without enabling RTL support](RtlEnabled.md.html) - - [RtlHardcoded: Using left/right instead of start/end attributes](RtlHardcoded.md.html) - - [RtlSymmetry: Padding and margin symmetry](RtlSymmetry.md.html) - - [SoonBlockedPrivateApi: Using Soon-to-Be Blocked Private API](SoonBlockedPrivateApi.md.html) - - [TestAppLink: Unmatched URLs](TestAppLink.md.html) - - [UseCheckPermission: Using the result of check permission calls](UseCheckPermission.md.html) - - [VectorPath: Long vector paths](VectorPath.md.html) - [VisibleForTests: Visible Only For Tests](VisibleForTests.md.html) - [WrongConstant: Incorrect constant](WrongConstant.md.html) - [WrongThread: Wrong Thread](WrongThread.md.html) - - [WrongThreadInterprocedural: Wrong Thread (Interprocedural)](WrongThreadInterprocedural.md.html) -* 2016 (28) +* 2017 (49) - - [AcceptsUserCertificates: Allowing User Certificates](AcceptsUserCertificates.md.html) - [AllCaps: Combining textAllCaps and markup](AllCaps.md.html) - [AnimatorKeep: Missing @Keep for Animated Properties](AnimatorKeep.md.html) - [AppCompatCustomView: Appcompat Custom Widgets](AppCompatCustomView.md.html) - - [AuthLeak: Code might contain an auth leak](AuthLeak.md.html) - - [BatteryLife: Battery Life Issues](BatteryLife.md.html) + - [AppLinkUrlError: URI invalid](AppLinkUrlError.md.html) + - [ApplySharedPref: Use `apply()` on `SharedPreferences`](ApplySharedPref.md.html) + - [ConvertToWebp: Convert to WebP](ConvertToWebp.md.html) + - [DevModeObsolete: Dev Mode Obsolete](DevModeObsolete.md.html) - [DuplicateDivider: Unnecessary Divider Copy](DuplicateDivider.md.html) + - [DuplicatePlatformClasses: Duplicate Platform Classes](DuplicatePlatformClasses.md.html) + - [EllipsizeMaxLines: Combining Ellipsize and Maxlines](EllipsizeMaxLines.md.html) - [ExifInterface: Using `android.media.ExifInterface`](ExifInterface.md.html) + - [FindViewByIdCast: Add Explicit Cast](FindViewByIdCast.md.html) - [GetContentDescriptionOverride: Overriding `getContentDescription()` on a View](GetContentDescriptionOverride.md.html) - - [HardwareIds: Hardware Id Usage](HardwareIds.md.html) + - [GetLocales: Locale crash](GetLocales.md.html) + - [HighAppVersionCode: VersionCode too high](HighAppVersionCode.md.html) + - [ImpliedTouchscreenHardware: Touchscreen not optional](ImpliedTouchscreenHardware.md.html) - [IncompatibleMediaBrowserServiceCompatVersion: Obsolete version of MediaBrowserServiceCompat](IncompatibleMediaBrowserServiceCompatVersion.md.html) - - [InsecureBaseConfiguration: Insecure Base Configuration](InsecureBaseConfiguration.md.html) + - [InstantApps: Instant App Issues](InstantApps.md.html) - [InvalidAnalyticsName: Invalid Analytics Name](InvalidAnalyticsName.md.html) + - [InvalidImeActionId: Invalid imeActionId declaration](InvalidImeActionId.md.html) - [InvalidPermission: Invalid Permission Attribute](InvalidPermission.md.html) + - [InvalidVectorPath: Invalid vector paths](InvalidVectorPath.md.html) - [InvalidWearFeatureAttribute: Invalid attribute for Wear uses-feature](InvalidWearFeatureAttribute.md.html) - - [LockedOrientationActivity: Incompatible screenOrientation value](LockedOrientationActivity.md.html) + - [JobSchedulerService: JobScheduler problems](JobSchedulerService.md.html) + - [KeyboardInaccessibleWidget: Keyboard inaccessible widget](KeyboardInaccessibleWidget.md.html) - [MergeMarker: Code contains merge marker](MergeMarker.md.html) + - [MinSdkTooLow: API Version Too Low](MinSdkTooLow.md.html) - [MissingBackupPin: Missing Backup Pin](MissingBackupPin.md.html) - [MissingFirebaseInstanceTokenRefresh: Missing Firebase Messaging Callback](MissingFirebaseInstanceTokenRefresh.md.html) - [NetworkSecurityConfig: Valid Network Security Config File](NetworkSecurityConfig.md.html) - - [NonResizeableActivity: Activity is set to be non-resizeable](NonResizeableActivity.md.html) - [ObjectAnimatorBinding: Incorrect ObjectAnimator Property](ObjectAnimatorBinding.md.html) + - [ObsoleteSdkInt: Obsolete SDK_INT Version Check](ObsoleteSdkInt.md.html) - [PermissionImpliesUnsupportedChromeOsHardware: Permission Implies Unsupported Chrome OS Hardware](PermissionImpliesUnsupportedChromeOsHardware.md.html) - [PinSetExpiry: Validate `` expiration attribute](PinSetExpiry.md.html) - - [StaticFieldLeak: Static Field Leaks](StaticFieldLeak.md.html) + - [PrivateApi: Using Private APIs](PrivateApi.md.html) + - [RtlCompat: Right-to-left text compatibility issues](RtlCompat.md.html) + - [RtlEnabled: Using RTL attributes without enabling RTL support](RtlEnabled.md.html) + - [RtlHardcoded: Using left/right instead of start/end attributes](RtlHardcoded.md.html) + - [RtlSymmetry: Padding and margin symmetry](RtlSymmetry.md.html) + - [TestAppLink: Unmatched URLs](TestAppLink.md.html) - [UnsupportedChromeOsHardware: Unsupported Chrome OS Hardware Feature](UnsupportedChromeOsHardware.md.html) - - [VectorDrawableCompat: Using VectorDrawableCompat](VectorDrawableCompat.md.html) + - [UseOfBundledGooglePlayServices: Use of bundled version of Google Play services](UseOfBundledGooglePlayServices.md.html) + - [VectorPath: Long vector paths](VectorPath.md.html) + - [WakelockTimeout: Using wakeLock without timeout](WakelockTimeout.md.html) - [WearStandaloneAppFlag: Invalid or missing Wear standalone app flag](WearStandaloneAppFlag.md.html) + - [WebpUnsupported: WebP Unsupported](WebpUnsupported.md.html) + - [WifiManagerLeak: WifiManager Leak](WifiManagerLeak.md.html) + - [WifiManagerPotentialLeak: WifiManager Potential Leak](WifiManagerPotentialLeak.md.html) + - [WrongThreadInterprocedural: Wrong Thread (Interprocedural)](WrongThreadInterprocedural.md.html) -* 2015 (37) +* 2016 (19) - - [AllowAllHostnameVerifier: Insecure `HostnameVerifier`](AllowAllHostnameVerifier.md.html) - - [AppLinksAutoVerify: App Links Auto Verification Failure](AppLinksAutoVerify.md.html) + - [AuthLeak: Code might contain an auth leak](AuthLeak.md.html) - [BadHostnameVerifier: Insecure HostnameVerifier](BadHostnameVerifier.md.html) - - [CustomX509TrustManager: Implements custom TLS trust manager](CustomX509TrustManager.md.html) - - [ExactAlarm: Invalid Usage of Exact Alarms](ExactAlarm.md.html) + - [BatteryLife: Battery Life Issues](BatteryLife.md.html) + - [CommitPrefEdits: Missing `commit()` on `SharedPreference` editor](CommitPrefEdits.md.html) + - [GradlePluginVersion: Incompatible Android Gradle Plugin](GradlePluginVersion.md.html) + - [HardwareIds: Hardware Id Usage](HardwareIds.md.html) + - [MissingConstraints: Missing Constraints in ConstraintLayout](MissingConstraints.md.html) + - [NotInterpolated: Incorrect Interpolation](NotInterpolated.md.html) + - [ParcelClassLoader: Default Parcel Class Loader](ParcelClassLoader.md.html) + - [PendingBindings: Missing Pending Bindings](PendingBindings.md.html) + - [RecyclerView: RecyclerView Problems](RecyclerView.md.html) + - [StaticFieldLeak: Static Field Leaks](StaticFieldLeak.md.html) + - [SupportAnnotationUsage: Incorrect support annotation usage](SupportAnnotationUsage.md.html) + - [SwitchIntDef: Missing @IntDef in Switch](SwitchIntDef.md.html) + - [UnsafeDynamicallyLoadedCode: `load` used to dynamically load code](UnsafeDynamicallyLoadedCode.md.html) + - [UnsafeNativeCodeLocation: Native code outside library directory](UnsafeNativeCodeLocation.md.html) + - [VectorDrawableCompat: Using VectorDrawableCompat](VectorDrawableCompat.md.html) + - [VulnerableCordovaVersion: Vulnerable Cordova Version](VulnerableCordovaVersion.md.html) + - [WearableBindListener: Usage of Android Wear BIND_LISTENER is deprecated](WearableBindListener.md.html) + +* 2015 (34) + + - [AllowAllHostnameVerifier: Insecure `HostnameVerifier`](AllowAllHostnameVerifier.md.html) - [FullBackupContent: Valid Full Backup Content File](FullBackupContent.md.html) - - [ImpliedTouchscreenHardware: Touchscreen not optional](ImpliedTouchscreenHardware.md.html) + - [InvalidResourceFolder: Invalid Resource Folder](InvalidResourceFolder.md.html) - [InvalidUsesTagAttribute: Invalid `name` attribute for `uses` element](InvalidUsesTagAttribute.md.html) - [LogConditional: Unconditional Logging Calls](LogConditional.md.html) - [LogTagMismatch: Mismatched Log Tags](LogTagMismatch.md.html) - [LongLogTag: Too Long Log Tags](LongLogTag.md.html) - [ManifestResource: Manifest Resource References](ManifestResource.md.html) + - [MipmapIcons: Use Mipmap Launcher Icons](MipmapIcons.md.html) - [MissingIntentFilterForMediaSearch: Missing MEDIA_PLAY_FROM_SEARCH intent-filter](MissingIntentFilterForMediaSearch.md.html) - [MissingLeanbackLauncher: Missing Leanback Launcher Intent Filter](MissingLeanbackLauncher.md.html) - [MissingLeanbackSupport: Missing Leanback Support](MissingLeanbackSupport.md.html) - [MissingMediaBrowserServiceIntentFilter: Missing MediaBrowserService intent-filter](MissingMediaBrowserServiceIntentFilter.md.html) - [MissingOnPlayFromSearch: Missing `onPlayFromSearch`](MissingOnPlayFromSearch.md.html) - [MissingTvBanner: TV Missing Banner](MissingTvBanner.md.html) - - [NotifyDataSetChanged: Invalidating All RecyclerView Data](NotifyDataSetChanged.md.html) - - [ParcelClassLoader: Default Parcel Class Loader](ParcelClassLoader.md.html) - - [PendingBindings: Missing Pending Bindings](PendingBindings.md.html) - [PermissionImpliesUnsupportedHardware: Permission Implies Unsupported Hardware](PermissionImpliesUnsupportedHardware.md.html) - - [RecyclerView: RecyclerView Problems](RecyclerView.md.html) + - [PluralsCandidate: Potential Plurals](PluralsCandidate.md.html) - [SQLiteString: Using STRING instead of TEXT](SQLiteString.md.html) - [SSLCertificateSocketFactoryCreateSocket: Insecure call to `SSLCertificateSocketFactory.createSocket()`](SSLCertificateSocketFactoryCreateSocket.md.html) - [SSLCertificateSocketFactoryGetInsecure: Call to `SSLCertificateSocketFactory.getInsecure()`](SSLCertificateSocketFactoryGetInsecure.md.html) - - [ScheduleExactAlarm: Scheduling Exact Alarms Without Required Permission](ScheduleExactAlarm.md.html) + - [SetTextI18n: TextView Internationalization](SetTextI18n.md.html) + - [SetWorldReadable: `File.setReadable()` used to make file world-readable](SetWorldReadable.md.html) + - [SetWorldWritable: `File.setWritable()` used to make file world-writable](SetWorldWritable.md.html) + - [ShiftFlags: Dangerous Flag Constant Declaration](ShiftFlags.md.html) - [ShortAlarm: Short or Frequent Alarm](ShortAlarm.md.html) - - [TrustAllX509TrustManager: Insecure TLS/SSL trust manager](TrustAllX509TrustManager.md.html) + - [SimpleDateFormat: Implied locale in date format](SimpleDateFormat.md.html) + - [UniqueConstants: Overlapping Enumeration Constants](UniqueConstants.md.html) - [UnprotectedSMSBroadcastReceiver: Unprotected SMS `BroadcastReceiver`](UnprotectedSMSBroadcastReceiver.md.html) - - [UnsafeDynamicallyLoadedCode: `load` used to dynamically load code](UnsafeDynamicallyLoadedCode.md.html) - - [UnsafeNativeCodeLocation: Native code outside library directory](UnsafeNativeCodeLocation.md.html) - [UnsafeProtectedBroadcastReceiver: Unsafe Protected `BroadcastReceiver`](UnsafeProtectedBroadcastReceiver.md.html) - [UnsupportedTvHardware: Unsupported TV Hardware Feature](UnsupportedTvHardware.md.html) + - [UseAlpha2: Using 3-letter Codes](UseAlpha2.md.html) - [ValidRestrictions: Invalid Restrictions Descriptor](ValidRestrictions.md.html) - [VectorRaster: Vector Image Generation](VectorRaster.md.html) - - [VulnerableCordovaVersion: Vulnerable Cordova Version](VulnerableCordovaVersion.md.html) + - [WrongRegion: Suspicious Language/Region Combination](WrongRegion.md.html) -* 2014 (73) +* 2014 (34) - [AaptCrash: Potential AAPT crash](AaptCrash.md.html) - [AccidentalOctal: Accidental Octal](AccidentalOctal.md.html) - [AddJavascriptInterface: `addJavascriptInterface` Called](AddJavascriptInterface.md.html) - [AndroidGradlePluginVersion: Obsolete Android Gradle Plugin Version](AndroidGradlePluginVersion.md.html) - - [AnnotationProcessorOnCompilePath: Annotation Processor on Compile Classpath](AnnotationProcessorOnCompilePath.md.html) - [AppCompatMethod: Using Wrong AppCompat Method](AppCompatMethod.md.html) - [AppCompatResource: Menu namespace](AppCompatResource.md.html) - - [AssertionSideEffect: Assertions with Side Effects](AssertionSideEffect.md.html) - - [BomWithoutPlatform: Using a BOM without platform call](BomWithoutPlatform.md.html) - [ByteOrderMark: Byte order mark inside files](ByteOrderMark.md.html) - - [ChromeOsAbiSupport: Missing ABI Support for ChromeOS](ChromeOsAbiSupport.md.html) - [ClickableViewAccessibility: Accessibility in Custom Views](ClickableViewAccessibility.md.html) - [CustomViewStyleable: Mismatched Styleable/Custom View Name](CustomViewStyleable.md.html) - - [DataBindingWithoutKapt: Data Binding without Annotation Processing](DataBindingWithoutKapt.md.html) - - [DeprecatedProvider: Using BC Provider](DeprecatedProvider.md.html) - - [DevModeObsolete: Dev Mode Obsolete](DevModeObsolete.md.html) - - [DuplicatePlatformClasses: Duplicate Platform Classes](DuplicatePlatformClasses.md.html) - - [EditedTargetSdkVersion: Manually Edited TargetSdkVersion](EditedTargetSdkVersion.md.html) - - [ExpensiveAssertion: Expensive Assertions](ExpensiveAssertion.md.html) - - [ExpiredTargetSdkVersion: TargetSdkVersion No Longer Supported](ExpiredTargetSdkVersion.md.html) - - [ExpiringTargetSdkVersion: TargetSdkVersion Soon Expiring](ExpiringTargetSdkVersion.md.html) - [ExportedPreferenceActivity: PreferenceActivity should not be exported](ExportedPreferenceActivity.md.html) - [GetInstance: Cipher.getInstance with ECB](GetInstance.md.html) - - [GetLocales: Locale crash](GetLocales.md.html) - [GradleCompatible: Incompatible Gradle Versions](GradleCompatible.md.html) - [GradleDependency: Obsolete Gradle Dependency](GradleDependency.md.html) - [GradleDeprecated: Deprecated Gradle Construct](GradleDeprecated.md.html) - - [GradleDeprecatedConfiguration: Deprecated Gradle Configuration](GradleDeprecatedConfiguration.md.html) - [GradleDynamicVersion: Gradle Dynamic Version](GradleDynamicVersion.md.html) - [GradleGetter: Gradle Implicit Getter Call](GradleGetter.md.html) - [GradleIdeError: Gradle IDE Support Issues](GradleIdeError.md.html) - [GradlePath: Gradle Path Issues](GradlePath.md.html) - - [GradlePluginVersion: Incompatible Android Gradle Plugin](GradlePluginVersion.md.html) - - [HighAppVersionCode: VersionCode too high](HighAppVersionCode.md.html) - [IncludeLayoutParam: Ignored layout params on include](IncludeLayoutParam.md.html) - [InflateParams: Layout Inflation without a Parent](InflateParams.md.html) - - [InvalidResourceFolder: Invalid Resource Folder](InvalidResourceFolder.md.html) - - [JavaPluginLanguageLevel: No Explicit Java Language Level Given](JavaPluginLanguageLevel.md.html) - - [JcenterRepositoryObsolete: JCenter Maven repository is read-only](JcenterRepositoryObsolete.md.html) - - [KaptUsageInsteadOfKsp: Kapt usage should be replaced with KSP](KaptUsageInsteadOfKsp.md.html) - - [KtxExtensionAvailable: KTX Extension Available](KtxExtensionAvailable.md.html) - - [LifecycleAnnotationProcessorWithJava8: Lifecycle Annotation Processor with Java 8 Compile Option](LifecycleAnnotationProcessorWithJava8.md.html) - [LocaleFolder: Wrong locale name](LocaleFolder.md.html) - - [MinSdkTooLow: API Version Too Low](MinSdkTooLow.md.html) - [NegativeMargin: Negative Margins](NegativeMargin.md.html) - [NewerVersionAvailable: Newer Library Versions Available](NewerVersionAvailable.md.html) - [NfcTechWhitespace: Whitespace in NFC tech lists](NfcTechWhitespace.md.html) - - [NotInterpolated: Incorrect Interpolation](NotInterpolated.md.html) - - [OldTargetApi: Target SDK attribute is not targeting latest version](OldTargetApi.md.html) - - [OutdatedLibrary: Outdated Library](OutdatedLibrary.md.html) - [OverrideAbstract: Not overriding abstract methods on older platforms](OverrideAbstract.md.html) - - [PlaySdkIndexGenericIssues: Library has issues in SDK Index](PlaySdkIndexGenericIssues.md.html) - - [PlaySdkIndexNonCompliant: Library has policy issues in SDK Index](PlaySdkIndexNonCompliant.md.html) - - [PlaySdkIndexVulnerability: Library has vulnerability issues in SDK Index](PlaySdkIndexVulnerability.md.html) - [PropertyEscape: Incorrect property escapes](PropertyEscape.md.html) - - [ProxyPassword: Proxy Password in Cleartext](ProxyPassword.md.html) - [RelativeOverlap: Overlapping items in RelativeLayout](RelativeOverlap.md.html) - [ResourceCycle: Cycle in resource definitions](ResourceCycle.md.html) - [ResourceName: Resource with Wrong Prefix](ResourceName.md.html) - - [RiskyLibrary: Libraries with Privacy or Security Risks](RiskyLibrary.md.html) - - [SetTextI18n: TextView Internationalization](SetTextI18n.md.html) - [SignatureOrSystemPermissions: Declaring signatureOrSystem permissions](SignatureOrSystemPermissions.md.html) - - [SimilarGradleDependency: Multiple Versions Gradle Dependency](SimilarGradleDependency.md.html) - - [SimpleDateFormat: Implied locale in date format](SimpleDateFormat.md.html) - [StringShouldBeInt: String should be int](StringShouldBeInt.md.html) - - [UseAlpha2: Using 3-letter Codes](UseAlpha2.md.html) - - [UseOfBundledGooglePlayServices: Use of bundled version of Google Play services](UseOfBundledGooglePlayServices.md.html) - - [UseTomlInstead: Use TOML Version Catalog Instead](UseTomlInstead.md.html) - [UsingHttp: Using HTTP instead of HTTPS](UsingHttp.md.html) - [ViewHolder: View Holder Candidates](ViewHolder.md.html) - [WebViewLayout: WebViews in wrap_content parents](WebViewLayout.md.html) - - [WeekBasedYear: Week Based Year](WeekBasedYear.md.html) - - [WrongRegion: Suspicious Language/Region Combination](WrongRegion.md.html) -* 2013 (13) +* 2013 (11) - [ImpliedQuantity: Implied Quantities](ImpliedQuantity.md.html) - [InconsistentLayout: Inconsistent Layouts](InconsistentLayout.md.html) @@ -613,21 +649,16 @@ - [ServiceCast: Wrong system service casts](ServiceCast.md.html) - [TrulyRandom: Weak RNG](TrulyRandom.md.html) - [UnusedQuantity: Unused quantity translations](UnusedQuantity.md.html) - - [WifiManagerLeak: WifiManager Leak](WifiManagerLeak.md.html) - - [WifiManagerPotentialLeak: WifiManager Potential Leak](WifiManagerPotentialLeak.md.html) - [WrongCase: Wrong case for view tag](WrongCase.md.html) -* 2012 (64) +* 2012 (52) - [AlwaysShowAction: Usage of `showAsAction=always`](AlwaysShowAction.md.html) - - [ApplySharedPref: Use `apply()` on `SharedPreferences`](ApplySharedPref.md.html) - [BackButton: Back button](BackButton.md.html) - [ButtonCase: Cancel/OK dialog button capitalization](ButtonCase.md.html) - [ButtonOrder: Button order](ButtonOrder.md.html) - [ButtonStyle: Button should be borderless](ButtonStyle.md.html) - - [CommitPrefEdits: Missing `commit()` on `SharedPreference` editor](CommitPrefEdits.md.html) - [CommitTransaction: Missing `commit()` calls](CommitTransaction.md.html) - - [ConstantLocale: Constant Locale](ConstantLocale.md.html) - [CutPasteId: Likely cut & paste mistakes](CutPasteId.md.html) - [DalvikOverride: Method considered overridden by Dalvik](DalvikOverride.md.html) - [DefaultLocale: Implied default locale in case conversion](DefaultLocale.md.html) @@ -646,17 +677,14 @@ - [LocalSuppress: @SuppressLint on invalid element](LocalSuppress.md.html) - [MangledCRLF: Mangled file line endings](MangledCRLF.md.html) - [MenuTitle: Missing menu title](MenuTitle.md.html) - - [MissingClass: Missing registered class](MissingClass.md.html) - [MissingId: Fragments should specify an `id` or `tag`](MissingId.md.html) - [NamespaceTypo: Misspelled namespace declaration](NamespaceTypo.md.html) - [NewApi: Calling new methods on older versions](NewApi.md.html) - - [ObsoleteSdkInt: Obsolete SDK_INT Version Check](ObsoleteSdkInt.md.html) - [OnClick: `onClick` method does not exist](OnClick.md.html) - [PackagedPrivateKey: Packaged private key](PackagedPrivateKey.md.html) - [PrivateResource: Using private resources](PrivateResource.md.html) - [ProtectedPermissions: Using system app permission](ProtectedPermissions.md.html) - [Recycle: Missing `recycle()` calls](Recycle.md.html) - - [RedundantNamespace: Redundant namespace](RedundantNamespace.md.html) - [ReferenceType: Incorrect reference types](ReferenceType.md.html) - [Registered: Class is not registered in the manifest](Registered.md.html) - [RequiredSize: Missing `layout_width` or `layout_height` attributes](RequiredSize.md.html) @@ -664,13 +692,9 @@ - [SecureRandom: Using a fixed seed with `SecureRandom`](SecureRandom.md.html) - [SelectableText: Dynamic text should probably be selectable](SelectableText.md.html) - [SetJavaScriptEnabled: Using `setJavaScriptEnabled`](SetJavaScriptEnabled.md.html) - - [ShiftFlags: Dangerous Flag Constant Declaration](ShiftFlags.md.html) - [ShowToast: Toast created but not shown](ShowToast.md.html) - [StopShip: Code contains `STOPSHIP` marker](StopShip.md.html) - - [SupportAnnotationUsage: Incorrect support annotation usage](SupportAnnotationUsage.md.html) - - [SwitchIntDef: Missing @IntDef in Switch](SwitchIntDef.md.html) - [TextViewEdits: TextView should probably be an EditText instead](TextViewEdits.md.html) - - [UniqueConstants: Overlapping Enumeration Constants](UniqueConstants.md.html) - [UnlocalizedSms: SMS phone number missing country code](UnlocalizedSms.md.html) - [UnusedAttribute: Attribute unused on older versions](UnusedAttribute.md.html) - [UnusedNamespace: Unused namespace](UnusedNamespace.md.html) @@ -679,19 +703,13 @@ - [ValidFragment: Fragment not instantiatable](ValidFragment.md.html) - [ViewConstructor: Missing View constructors for XML inflation](ViewConstructor.md.html) - [Wakelock: Incorrect `WakeLock` usage](Wakelock.md.html) - - [WakelockTimeout: Using wakeLock without timeout](WakelockTimeout.md.html) - [WrongCall: Using wrong draw/layout method](WrongCall.md.html) - [WrongFolder: Resource file in the wrong `res` folder](WrongFolder.md.html) - - [WrongSdkInt: Mismatched SDK_INT or SDK_INT_FULL](WrongSdkInt.md.html) -* 2011 (98) +* 2011 (83) - [AdapterViewChildren: `AdapterView` cannot have children in XML](AdapterViewChildren.md.html) - - [AppIndexingService: App Indexing Background Services](AppIndexingService.md.html) - - [ChildInNonViewGroup: Only view groups can have children](ChildInNonViewGroup.md.html) - [ContentDescription: Image without `contentDescription`](ContentDescription.md.html) - - [ConvertToWebp: Convert to WebP](ConvertToWebp.md.html) - - [DataExtractionRules: Missing data extraction rules](DataExtractionRules.md.html) - [Deprecated: Using deprecated resources](Deprecated.md.html) - [DeviceAdmin: Malformed Device Admin](DeviceAdmin.md.html) - [DisableBaselineAlignment: Missing `baselineAligned` attribute](DisableBaselineAlignment.md.html) @@ -703,7 +721,6 @@ - [ExportedReceiver: Receiver does not require permission](ExportedReceiver.md.html) - [ExportedService: Exported service does not require permission](ExportedService.md.html) - [ExtraText: Extraneous text in resource files](ExtraText.md.html) - - [FindViewByIdCast: Add Explicit Cast](FindViewByIdCast.md.html) - [GifUsage: Using `.gif` format for bitmaps is discouraged](GifUsage.md.html) - [GradleOverrides: Value overridden by Gradle build script](GradleOverrides.md.html) - [GrantAllUris: Content provider shares everything](GrantAllUris.md.html) @@ -729,36 +746,28 @@ - [InvalidId: Invalid ID declaration](InvalidId.md.html) - [ManifestOrder: Incorrect order of elements in manifest](ManifestOrder.md.html) - [MergeRootFrame: FrameLayout can be replaced with `` tag](MergeRootFrame.md.html) - - [MipmapIcons: Use Mipmap Launcher Icons](MipmapIcons.md.html) - [MissingApplicationIcon: Missing application icon](MissingApplicationIcon.md.html) - - [MissingPrefix: Missing Android XML namespace](MissingPrefix.md.html) - [MissingVersion: Missing application name/version](MissingVersion.md.html) - [MockLocation: Using mock location provider in production](MockLocation.md.html) - [MultipleUsesSdk: Multiple `` elements in the manifest](MultipleUsesSdk.md.html) - [NestedScrolling: Nested scrolling widgets](NestedScrolling.md.html) - [NestedWeights: Nested layout weights](NestedWeights.md.html) - [NotSibling: Invalid Constraints](NotSibling.md.html) - - [NotificationIconCompatibility: Notification Icon Compatibility](NotificationIconCompatibility.md.html) - [ObsoleteLayoutParam: Obsolete layout params](ObsoleteLayoutParam.md.html) - [Orientation: Missing explicit orientation](Orientation.md.html) - [Overdraw: Overdraw: Painting regions more than once](Overdraw.md.html) - - [PluralsCandidate: Potential Plurals](PluralsCandidate.md.html) - [Proguard: Using obsolete ProGuard configuration](Proguard.md.html) - [ProguardSplit: Proguard.cfg file contains generic Android rules](ProguardSplit.md.html) - [PxUsage: Using 'px' dimension](PxUsage.md.html) - - [RedundantLabel: Redundant label on activity](RedundantLabel.md.html) - [ScrollViewCount: `ScrollView` can have only one child](ScrollViewCount.md.html) - [ScrollViewSize: ScrollView size validation](ScrollViewSize.md.html) - [SdCardPath: Hardcoded reference to `/sdcard`](SdCardPath.md.html) - - [SetWorldReadable: `File.setReadable()` used to make file world-readable](SetWorldReadable.md.html) - - [SetWorldWritable: `File.setWritable()` used to make file world-writable](SetWorldWritable.md.html) - [SmallSp: Text size is too small](SmallSp.md.html) - [SpUsage: Using `dp` instead of `sp` for text sizes](SpUsage.md.html) - [StateListReachable: Unreachable state in a ``](StateListReachable.md.html) - [StringFormatCount: Formatting argument types incomplete or inconsistent](StringFormatCount.md.html) - [StringFormatInvalid: Invalid format string](StringFormatInvalid.md.html) - [StringFormatMatches: `String.format` string doesn't match the XML format string](StringFormatMatches.md.html) - - [StringFormatTrivial: `String.format` string only contains trivial conversions](StringFormatTrivial.md.html) - [Suspicious0dp: Suspicious 0dp dimension](Suspicious0dp.md.html) - [SuspiciousImport: '`import android.R`' statement](SuspiciousImport.md.html) - [TextFields: Missing `inputType`](TextFields.md.html) @@ -778,8 +787,6 @@ - [UseCompoundDrawables: Node can be replaced by a `TextView` with compound drawables](UseCompoundDrawables.md.html) - [UselessLeaf: Unnecessary leaf layout](UselessLeaf.md.html) - [UselessParent: Unnecessary parent layout](UselessParent.md.html) - - [WearableBindListener: Usage of Android Wear BIND_LISTENER is deprecated](WearableBindListener.md.html) - - [WebpUnsupported: WebP Unsupported](WebpUnsupported.md.html) - [WorldReadableFiles: `openFileOutput()` with `MODE_WORLD_READABLE`](WorldReadableFiles.md.html) - [WorldWriteableFiles: `openFileOutput()` with `MODE_WORLD_WRITEABLE`](WorldWriteableFiles.md.html) - [WrongManifestParent: Wrong manifest parent](WrongManifestParent.md.html)