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

Commit 38aaed96 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge branch '3849-main-fp_moments' into 'main'

Add unofficial release type for test update json as well

See merge request !639
parents 7b15d902 c8d24dd5
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ class SystemAppsUpdatesRepository @Inject constructor(

    private fun isEligibleToFetchAppListFromTest(systemName: String) =
        systemName.isBlank() ||
            systemName.contains("unofficial") ||
            systemName.contains("beta") ||
            systemName.contains("rc") ||
            systemName.contains("test")
@@ -182,7 +183,7 @@ class SystemAppsUpdatesRepository @Inject constructor(
    }

    private fun getFullSystemName(): String {
        return SystemInfoProvider.getSystemProperty(SystemInfoProvider.KEY_LINEAGE_VERSION) ?: ""
        return SystemInfoProvider.getSystemProperty(SystemInfoProvider.KEY_LINEAGE_VERSION)?.lowercase() ?: ""
    }

    private fun getSdkLevel(): Int {