Remove DG-Repo

I have no time to manage that...
pull/107/head
DerGoogler 2 years ago
parent c726dbe375
commit e5ff088813

@ -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));

@ -56,19 +56,4 @@
app:summary="@string/androidacy_repo_info"
app:singleLineTitle="false" />
</PreferenceCategory>
<PreferenceCategory
app:key="pref_dg_magisk_repo"
app:title="@string/loading">
<SwitchPreferenceCompat
app:key="pref_dg_magisk_repo_enabled"
app:icon="@drawable/ic_baseline_extension_24"
app:switchTextOn="@string/repo_enabled"
app:switchTextOff="@string/repo_enabled"
app:singleLineTitle="false" />
<Preference
app:key="pref_dg_magisk_repo_website"
app:icon="@drawable/ic_baseline_language_24"
app:title="@string/website"
app:singleLineTitle="false" />
</PreferenceCategory>
</PreferenceScreen>

Loading…
Cancel
Save