Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit e5ff088

Browse files
committed
Remove DG-Repo
I have no time to manage that...
1 parent c726dbe commit e5ff088

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

app/src/main/java/com/fox2code/mmm/repo/RepoManager.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ public final class RepoManager {
3232
public static final String ANDROIDACY_MAGISK_REPO_HOMEPAGE =
3333
"https://www.androidacy.com/modules-repo";
3434

35-
public static final String DG_MAGISK_REPO =
36-
"https://repo.dergoogler.com/modules.json";
37-
public static final String DG_MAGISK_REPO_HOMEPAGE =
38-
"https://github.com/orgs/Googlers-Magisk-Repo/repositories?type=source";
39-
4035

4136
private static final Object lock = new Object();
4237
private static volatile RepoManager INSTANCE;
@@ -68,7 +63,6 @@ private RepoManager(MainApplication mainApplication) {
6863
this.modules = new HashMap<>();
6964
// We do not have repo list config yet.
7065
this.addRepoData(MAGISK_ALT_REPO);
71-
this.addRepoData(DG_MAGISK_REPO);
7266
this.androidacyRepoData =
7367
this.addAndroidacyRepoData();
7468
// Populate default cache
@@ -244,8 +238,6 @@ public static String internalIdOfUrl(String url) {
244238
return "magisk_alt_repo";
245239
case ANDROIDACY_MAGISK_REPO_ENDPOINT:
246240
return "androidacy_repo";
247-
case DG_MAGISK_REPO:
248-
return "dg_magisk_repo";
249241
default:
250242
return "repo_" + Hashes.hashSha1(
251243
url.getBytes(StandardCharsets.UTF_8));

app/src/main/res/xml/repo_preferences.xml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,4 @@
5656
app:summary="@string/androidacy_repo_info"
5757
app:singleLineTitle="false" />
5858
</PreferenceCategory>
59-
<PreferenceCategory
60-
app:key="pref_dg_magisk_repo"
61-
app:title="@string/loading">
62-
<SwitchPreferenceCompat
63-
app:key="pref_dg_magisk_repo_enabled"
64-
app:icon="@drawable/ic_baseline_extension_24"
65-
app:switchTextOn="@string/repo_enabled"
66-
app:switchTextOff="@string/repo_enabled"
67-
app:singleLineTitle="false" />
68-
<Preference
69-
app:key="pref_dg_magisk_repo_website"
70-
app:icon="@drawable/ic_baseline_language_24"
71-
app:title="@string/website"
72-
app:singleLineTitle="false" />
73-
</PreferenceCategory>
7459
</PreferenceScreen>

0 commit comments

Comments
 (0)