Update libraries, enable WebView debug on debug builds.

pull/27/head
Fox2Code 4 years ago
parent 00ae269ae2
commit 96f4eb3862

@ -11,6 +11,7 @@ import android.webkit.WebViewClient;
import androidx.annotation.Nullable; import androidx.annotation.Nullable;
import com.fox2code.mmm.BuildConfig;
import com.fox2code.mmm.MainApplication; import com.fox2code.mmm.MainApplication;
import com.fox2code.mmm.R; import com.fox2code.mmm.R;
import com.fox2code.mmm.compat.CompatActivity; import com.fox2code.mmm.compat.CompatActivity;
@ -21,6 +22,12 @@ import com.fox2code.mmm.utils.IntentHelper;
* Per Androidacy repo implementation agreement, no request of this WebView shall be modified. * Per Androidacy repo implementation agreement, no request of this WebView shall be modified.
*/ */
public class AndroidacyActivity extends CompatActivity { public class AndroidacyActivity extends CompatActivity {
static {
if (BuildConfig.DEBUG) {
WebView.setWebContentsDebuggingEnabled(true);
}
}
private WebView webView; private WebView webView;
@Override @Override

@ -91,8 +91,7 @@ public class SettingsActivity extends CompatActivity {
"Magisk Modules Repo (Official)", RepoManager.MAGISK_REPO_HOMEPAGE); "Magisk Modules Repo (Official)", RepoManager.MAGISK_REPO_HOMEPAGE);
setRepoNameResolution("pref_repo_alt", RepoManager.MAGISK_ALT_REPO, setRepoNameResolution("pref_repo_alt", RepoManager.MAGISK_ALT_REPO,
"Magisk Modules Alt Repo", RepoManager.MAGISK_ALT_REPO_HOMEPAGE); "Magisk Modules Alt Repo", RepoManager.MAGISK_ALT_REPO_HOMEPAGE);
final LibsBuilder libsBuilder = new LibsBuilder() final LibsBuilder libsBuilder = new LibsBuilder().withShowLoadingProgress(false)
.withFields(R.string.class.getFields()).withShowLoadingProgress(false)
.withLicenseShown(true).withAboutMinimalDesign(false); .withLicenseShown(true).withAboutMinimalDesign(false);
Preference update = findPreference("pref_update"); Preference update = findPreference("pref_update");
update.setVisible(AppUpdateManager.getAppUpdateManager().peekHasUpdate()); update.setVisible(AppUpdateManager.getAppUpdateManager().peekHasUpdate());

@ -5,9 +5,9 @@ buildscript {
mavenCentral() mavenCentral()
gradlePluginPortal() gradlePluginPortal()
} }
project.ext.latestAboutLibsRelease = "8.9.4" project.ext.latestAboutLibsRelease = "10.0.0-b08"
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.1.0-rc01' classpath 'com.android.tools.build:gradle:7.1.0'
classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${latestAboutLibsRelease}" classpath "com.mikepenz.aboutlibraries.plugin:aboutlibraries-plugin:${latestAboutLibsRelease}"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

Loading…
Cancel
Save