Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27021fb8 authored by Romain Hunault's avatar Romain Hunault 💻
Browse files

Use -release subfix instead of prefix

parent c424246b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,8 +9,8 @@ class OsInfo() {
        val buildTags = Build.TAGS.split(",").toTypedArray()
        var osReleaseType = ""
        buildTags.forEach {
            if (it.contains("release-")) {
                osReleaseType = it.substringAfter("release-")
            if (it.contains("-release")) {
                osReleaseType = it.substringBefore("-release")
            }
        }