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

Commit 96f4eb3

Browse files
committed
Update libraries, enable WebView debug on debug builds.
1 parent 00ae269 commit 96f4eb3

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

app/src/main/java/com/fox2code/mmm/androidacy/AndroidacyActivity.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
import androidx.annotation.Nullable;
1313

14+
import com.fox2code.mmm.BuildConfig;
1415
import com.fox2code.mmm.MainApplication;
1516
import com.fox2code.mmm.R;
1617
import com.fox2code.mmm.compat.CompatActivity;
@@ -21,6 +22,12 @@
2122
* Per Androidacy repo implementation agreement, no request of this WebView shall be modified.
2223
*/
2324
public class AndroidacyActivity extends CompatActivity {
25+
static {
26+
if (BuildConfig.DEBUG) {
27+
WebView.setWebContentsDebuggingEnabled(true);
28+
}
29+
}
30+
2431
private WebView webView;
2532

2633
@Override

app/src/main/java/com/fox2code/mmm/settings/SettingsActivity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
9191
"Magisk Modules Repo (Official)", RepoManager.MAGISK_REPO_HOMEPAGE);
9292
setRepoNameResolution("pref_repo_alt", RepoManager.MAGISK_ALT_REPO,
9393
"Magisk Modules Alt Repo", RepoManager.MAGISK_ALT_REPO_HOMEPAGE);
94-
final LibsBuilder libsBuilder = new LibsBuilder()
95-
.withFields(R.string.class.getFields()).withShowLoadingProgress(false)
94+
final LibsBuilder libsBuilder = new LibsBuilder().withShowLoadingProgress(false)
9695
.withLicenseShown(true).withAboutMinimalDesign(false);
9796
Preference update = findPreference("pref_update");
9897
update.setVisible(AppUpdateManager.getAppUpdateManager().peekHasUpdate());

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ buildscript {
55
mavenCentral()
66
gradlePluginPortal()
77
}
8-
project.ext.latestAboutLibsRelease = "8.9.4"
8+
project.ext.latestAboutLibsRelease = "10.0.0-b08"
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:7.1.0-rc01'
10+
classpath 'com.android.tools.build:gradle:7.1.0'
1111
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${latestAboutLibsRelease}"
1212

1313
// NOTE: Do not place your application dependencies here; they belong

0 commit comments

Comments
 (0)