From e5ff088813d80e2e53a977148bf1ad6b6ed7692a Mon Sep 17 00:00:00 2001 From: DerGoogler Date: Thu, 5 May 2022 13:01:39 +0200 Subject: [PATCH] Remove DG-Repo I have no time to manage that... --- .../java/com/fox2code/mmm/repo/RepoManager.java | 8 -------- app/src/main/res/xml/repo_preferences.xml | 15 --------------- 2 files changed, 23 deletions(-) diff --git a/app/src/main/java/com/fox2code/mmm/repo/RepoManager.java b/app/src/main/java/com/fox2code/mmm/repo/RepoManager.java index 9a95de2..7eaf28a 100644 --- a/app/src/main/java/com/fox2code/mmm/repo/RepoManager.java +++ b/app/src/main/java/com/fox2code/mmm/repo/RepoManager.java @@ -32,11 +32,6 @@ public final class RepoManager { public static final String ANDROIDACY_MAGISK_REPO_HOMEPAGE = "https://www.androidacy.com/modules-repo"; - public static final String DG_MAGISK_REPO = - "https://repo.dergoogler.com/modules.json"; - public static final String DG_MAGISK_REPO_HOMEPAGE = - "https://github.com/orgs/Googlers-Magisk-Repo/repositories?type=source"; - private static final Object lock = new Object(); private static volatile RepoManager INSTANCE; @@ -68,7 +63,6 @@ public final class RepoManager { this.modules = new HashMap<>(); // We do not have repo list config yet. this.addRepoData(MAGISK_ALT_REPO); - this.addRepoData(DG_MAGISK_REPO); this.androidacyRepoData = this.addAndroidacyRepoData(); // Populate default cache @@ -244,8 +238,6 @@ public final class RepoManager { return "magisk_alt_repo"; case ANDROIDACY_MAGISK_REPO_ENDPOINT: return "androidacy_repo"; - case DG_MAGISK_REPO: - return "dg_magisk_repo"; default: return "repo_" + Hashes.hashSha1( url.getBytes(StandardCharsets.UTF_8)); diff --git a/app/src/main/res/xml/repo_preferences.xml b/app/src/main/res/xml/repo_preferences.xml index d8cc446..9bed0d6 100644 --- a/app/src/main/res/xml/repo_preferences.xml +++ b/app/src/main/res/xml/repo_preferences.xml @@ -56,19 +56,4 @@ app:summary="@string/androidacy_repo_info" app:singleLineTitle="false" /> - - - -