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

[M] AppUtils增加getAppMinSdkVersion, getAppTargetSdkVersion支持 #1671

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

YoungBill
Copy link
Contributor

AppUtils增加getAppMinSdkVersion, getAppTargetSdkVersion支持。

其中getAppMinSdkVersion方法有些特殊,
在Android 7.0以下设备运行时,返回-1,因为ApplicationInfo.minSdkVersion字段是在Android 7.0之后加入的,
在Android 7.0及以上设备运行时,返回正常。

@Blankj Blankj merged commit a8c8270 into Blankj:master Jul 19, 2022
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

3 participants