We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4738700 commit 9639cf5Copy full SHA for 9639cf5
1 file changed
app/src/main/java/net/imknown/android/forefrontinfo/ui/common/AndroidVersionExt.kt
@@ -33,7 +33,7 @@ fun isLatestPreviewAndroid(lld: Lld) = isPreviewAndroid()
33
fun isSupportedByUpstreamAndroid(lld: Lld) = isStableAndroid()
34
&& Build.VERSION.SDK_INT >= lld.android.support.api.toInt()
35
36
-/** For Android 11+, use `Build.VERSION.RELEASE_OR_CODENAME` (`ro.build.version.release_or_codename`) */
+/** For minSdk ≥ Android 11, use [Build.VERSION.RELEASE_OR_CODENAME] (`ro.build.version.release_or_codename`) */
37
fun getAndroidVersionName(): String = if (isStableAndroid()) {
38
Build.VERSION.RELEASE
39
} else {
0 commit comments