Repository navigation
[Xamarin.Android.Build.Tasks] Ignore the ObsoleteSdkInt Lint Check - #1179
Merged
Merged
Conversation
Context dotnet#1171 There is a new test [ObsoleteSdkInt] which produces a warning such as obj/Debug/android/src/mono/MonoPackageManager.java(85,6): warning XA0102: Unnecessary; SDK_INT is always >= 10 [ObsoleteSdkInt] So our MonoPackageManager.java file is the cause of this particular warning [1]. I am not sure we can remove that line of code yet, since our apps can run on older devices. That said once the % share of devices for API's < 8 is 0, we can probably remove that line of code completely and re-enable this check. [1] https://github.com/xamarin/xamarin-android/blob/master/src/Xamarin.Android.Build.Tasks/Resources/MonoPackageManager.java#L85
jonpryor
added a commit
to jonpryor/xamarin-android
that referenced
this pull request
Mar 10, 2021
Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1290661/ Context: dotnet#5710 Changes: https://github.com/xamarin/monodroid/compare/5918966a3354d9dcffa3ac3fadd1329356bea737...b2a750a2bd9f25e4f16592168dd919bf36930de4 * xamarin/monodroid@b2a750a2b: Bump to xamarin/androidtools/d16-9@91ca8a80 (dotnet#1179) * xamarin/monodroid@73e652c36: [tools/msbuild] Add File.Exists checks for Fast Deployment (dotnet#1166)
jonpryor
added a commit
that referenced
this pull request
Mar 10, 2021
Context: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1290661/ Context: #5710 Changes: https://github.com/xamarin/monodroid/compare/5918966a3354d9dcffa3ac3fadd1329356bea737...b2a750a2bd9f25e4f16592168dd919bf36930de4 * xamarin/monodroid@b2a750a2b: Bump to xamarin/androidtools/d16-9@91ca8a80 (#1179) * xamarin/monodroid@73e652c36: [tools/msbuild] Add File.Exists checks for Fast Deployment (#1166)
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context #1171
There is a new test [ObsoleteSdkInt] which produces a warning
such as
So our MonoPackageManager.java file is the cause of this
particular warning [1]. I am not sure we can remove that
line of code yet, since our apps can run on older devices.
That said once the % share of devices for API's < 8 is 0,
we can probably remove that line of code completely and
re-enable this check.
[1] https://github.com/xamarin/xamarin-android/blob/master/src/Xamarin.Android.Build.Tasks/Resources/MonoPackageManager.java#L85