[db] New repos now get lower weight than older ones

so they do not override the information from older repos anymore. This is especially an issue for the official repo which historically had the lowest priority while it should have the highest.
This commit is contained in:
Torsten Grote committed 2024-02-20 09:42:39 -03:00
1 parent d9ea1e154b
commit b993da8db8
9 files changed
+59 -36

No files matched your search

@@ -100,7 +100,7 @@ internal class RepoAdderTest {
val userManager = mockk<UserManager>()
val repoAdder = RepoAdder(context, db, tempFileProvider, downloaderFactory, httpManager)
every { context.getSystemService("user") } returns userManager
every { context.getSystemService(UserManager::class.java) } returns userManager
every {
userManager.hasUserRestriction(DISALLOW_INSTALL_UNKNOWN_SOURCES)
} returns true