Fixed
Status Update
Comments
on...@gmail.com <on...@gmail.com> #2
./gradlew :app:lintDebug --no-daemon
is used for running lint. But Android Studio also doesn't show any error on expected lines.
xa...@google.com <xa...@google.com>
is...@google.com <is...@google.com>
ga...@google.com <ga...@google.com> #3
I opened a PR to improve NonNullableMutableLiveDataDetector's type references check.
https://github.com/androidx/androidx/pull/161
pa...@google.com <pa...@google.com> #4
Project: platform/frameworks/support
Branch: androidx-main
commit 655e08dca6e27aa15c862132914cb61b0ec29fdf
Author: Sinan Kozak <kozaxinan@gmail.com>
Date: Wed May 05 16:38:12 2021
[GH] [Lifecycle] [Lint] fixes b/184830263 Lint should use check reference too
## Proposed Changes
- Fix NonNullableMutableLiveDataDetector for [different cases](https://issuetracker.google.com/issues/184830263 ). It is possible to only set type reference and omit call's generic argument.
- Added check for generic values because default upper bound of generic (if none specified) is Any?. If generic is not specified as `<T : Any>`, `T` can be defined null at call site.https://kotlinlang.org/docs/generics.html#upper-bounds
## Testing
Test: Run NonNullableMutableLiveDataDetectorTest with new edge cases.
`nullLiteralFailMultipleFields` : Added type reference
`justKotlinObject` : Add additional test to prevent ArrayIndexOutOfBoundsException. It is fixed inhttps://github.com/androidx/androidx/commit/428f0ec685ff80035c0511c0cdb12b9770b6159c but not tested. It is reported here with [ b/184830262 ](https://issuetracker.google.com/issues/184830262 )
`genericParameterDefinition` : Generics are assumed as nullable, lint should ignore.
## Issues Fixed
Fixes: The bug on [ b/184830263 ](https://issuetracker.google.com/issues/184830263 ) being fixed
Fixes: Tests [ b/184830262 ](https://issuetracker.google.com/issues/184830263 )
This is an imported pull request fromhttps://github.com/androidx/androidx/pull/161 .
Resolves #161
Github-Pr-Head-Sha: e96b4a8e860002feccd455e9ad8dcdd868dff2df
GitOrigin-RevId: eb21c2ef19da5465be438c928d9b6ba2498b72e8
Change-Id: Id6cd01e9ec6b79a3f14b569b53d79627c79b9866
M lifecycle/lifecycle-livedata-core-ktx-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
M lifecycle/lifecycle-livedata-core-ktx-lint/src/test/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetectorTest.kt
https://android-review.googlesource.com/1697465
Branch: androidx-main
commit 655e08dca6e27aa15c862132914cb61b0ec29fdf
Author: Sinan Kozak <kozaxinan@gmail.com>
Date: Wed May 05 16:38:12 2021
[GH] [Lifecycle] [Lint] fixes
## Proposed Changes
- Fix NonNullableMutableLiveDataDetector for [different cases](
- Added check for generic values because default upper bound of generic (if none specified) is Any?. If generic is not specified as `<T : Any>`, `T` can be defined null at call site.
## Testing
Test: Run NonNullableMutableLiveDataDetectorTest with new edge cases.
`nullLiteralFailMultipleFields` : Added type reference
`justKotlinObject` : Add additional test to prevent ArrayIndexOutOfBoundsException. It is fixed in
`genericParameterDefinition` : Generics are assumed as nullable, lint should ignore.
## Issues Fixed
Fixes: The bug on [
Fixes: Tests [
This is an imported pull request from
Resolves #161
Github-Pr-Head-Sha: e96b4a8e860002feccd455e9ad8dcdd868dff2df
GitOrigin-RevId: eb21c2ef19da5465be438c928d9b6ba2498b72e8
Change-Id: Id6cd01e9ec6b79a3f14b569b53d79627c79b9866
M lifecycle/lifecycle-livedata-core-ktx-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
M lifecycle/lifecycle-livedata-core-ktx-lint/src/test/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetectorTest.kt
pa...@google.com <pa...@google.com> #6
Will do initial investigations
al...@google.com <al...@google.com> #7
I'm having trouble finding the owner for the legacy (com.google.android.support:wearable
) Wear library, but they need to Jetify their output artifacts. Aga, can you help us find the right owner responsible for releases?
am...@google.com <am...@google.com> #8
+Flavio Lerda <flerda@google.com>
Flavio is the current owner, he's just staffing a team for this and will be
able to help you
On Thu, 23 Jan 2020, 18:58 alanv, <buganizer-system+alanv@google.com> wrote:
Flavio is the current owner, he's just staffing a team for this and will be
able to help you
On Thu, 23 Jan 2020, 18:58 alanv, <buganizer-system+alanv@google.com> wrote:
fl...@google.com <fl...@google.com> #9
Thanks for the report. My team will look into this issue and hopefully we will be able to address it soon.
fl...@google.com <fl...@google.com> #11
Thanks. Marking as fixed now that the new library has rolled out publicly.
al...@gmail.com <al...@gmail.com> #12
Je ne peut pas installer fortnite sur mon mobile
Description
Android Plugin Version: 4.0.0-alpha08
Module Compile Sdk Version: 29
Module Build Tools Version: <blank>
Android SDK Tools version: 29.0.2
I upgraded my project from AGP 4.0.0-alpha06 to 4.0.0-alpha08 and the assemble task started to report the following compilation error:
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class android.support.wearable.complications.ComplicationHelperActivity, unresolved supertypes: android.support.v4.app.ActivityCompat.OnRequestPermissionsResultCallback
The error appears also in 4.0.0-alpha07.
You can find an example project to reproduce the issue at