-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[camera_android] Fix Android lint warnings (#3716)
Removes the lint-baseline.xml file, and fixes all issues. The `KotlinPropertyAccess` doesn't seem to work well with generics. For example, ```java class CameraFeature<T> { T getValue(); } class ExposureFeature extends CameraFeature<Exposure> { @OverRide Exposure getValue() { ... } } ``` The `ExposureFeature.getValue` causes the lint warning. I went ahead and suppressed this for all `CameraFeatures`. I also added `@Nonnull` or `@Nullable` to some private fields that weren't required. This helped deduce whether a value was always nonnull or not. Part of flutter/flutter#88011
- Loading branch information
1 parent
6e71978
commit 9989606
Showing
41 changed files
with
391 additions
and
3,276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3,106 changes: 0 additions & 3,106 deletions
3,106
packages/camera/camera_android/android/lint-baseline.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.