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 com.fox2code.mmm.BuildConfig;
import com.fox2code.mmm.MainApplication;
import com.fox2code.mmm.R;
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.
*/
public class AndroidacyActivity extends CompatActivity {
static {
if (BuildConfig.DEBUG) {
WebView.setWebContentsDebuggingEnabled(true);
}
}
private WebView webView;
@Override

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

@ -5,9 +5,9 @@ buildscript {
mavenCentral()
gradlePluginPortal()
}
project.ext.latestAboutLibsRelease = "8.9.4"
project.ext.latestAboutLibsRelease = "10.0.0-b08"
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}"
// NOTE: Do not place your application dependencies here; they belong

Loading…
Cancel
Save