Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/resolve warnings #51

Merged
merged 3 commits into from
Nov 26, 2021
Merged

Fix/resolve warnings #51

merged 3 commits into from
Nov 26, 2021

Conversation

Ldoppea
Copy link
Member

@Ldoppea Ldoppea commented Nov 22, 2021

This PR tries to resolve some of the compilation warning that are displayed in VS.

I did not resolve all warnings related to SDK version as resolving them would break compatibility with some older devices (SDK 21 -> 26)

@delete-merged-branch delete-merged-branch bot deleted the branch master November 26, 2021 12:11
`Build.VERSION.Sdk` was deprecated in API level 15
`Build.VERSION.SdkInt`should be used instead

More info:
https://developer.android.com/reference/android/os/Build.VERSION#SDK_INT
This API is deprecated from API 20

Also the code that uses this API is targeting Android Lollipop and
prior versions

As we support only API 21 and later, this code is deadcode
@Ldoppea Ldoppea changed the base branch from merge-upstream_20211025 to master November 26, 2021 12:27
@Ldoppea Ldoppea merged commit 4df5919 into master Nov 26, 2021
@delete-merged-branch delete-merged-branch bot deleted the fix/resolve_warnings branch November 26, 2021 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants