summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2022-02-26 19:43:40 +0100
committerGitHub <noreply@github.com>2022-02-26 19:43:40 +0100
commit0d7555da8c291457cd8fe7b97036fd05c515bbd2 (patch)
treef6e3b294967f0faf6ab04fd15edc03af365a9aae /app
parent30e7dd0755a40c7eb5bf66b14ca9f6562e8efdbd (diff)
parentdea3ba1ff071bfbf8c4e8ac11e2c7c5a6adf09ec (diff)
downloadAntennaPod-0d7555da8c291457cd8fe7b97036fd05c515bbd2.zip
Merge pull request #5754 from ByteHamster/multidex
Enable MultiDex
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle1
-rw-r--r--app/src/main/java/de/danoeh/antennapod/PodcastApp.java4
2 files changed, 3 insertions, 2 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 40759dd56..1bd916425 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -129,6 +129,7 @@ dependencies {
implementation "androidx.fragment:fragment:$fragmentVersion"
implementation 'androidx.gridlayout:gridlayout:1.0.0'
implementation "androidx.media:media:$mediaVersion"
+ implementation 'com.android.support:multidex:2.0.1'
implementation "androidx.palette:palette:$paletteVersion"
implementation "androidx.preference:preference:$preferenceVersion"
implementation "androidx.recyclerview:recyclerview:$recyclerViewVersion"
diff --git a/app/src/main/java/de/danoeh/antennapod/PodcastApp.java b/app/src/main/java/de/danoeh/antennapod/PodcastApp.java
index 534d48479..8ce894684 100644
--- a/app/src/main/java/de/danoeh/antennapod/PodcastApp.java
+++ b/app/src/main/java/de/danoeh/antennapod/PodcastApp.java
@@ -1,10 +1,10 @@
package de.danoeh.antennapod;
-import android.app.Application;
import android.content.ComponentName;
import android.content.Intent;
import android.os.StrictMode;
+import androidx.multidex.MultiDexApplication;
import com.joanzapata.iconify.Iconify;
import com.joanzapata.iconify.fonts.FontAwesomeModule;
import com.joanzapata.iconify.fonts.MaterialModule;
@@ -18,7 +18,7 @@ import de.danoeh.antennapod.spa.SPAUtil;
import org.greenrobot.eventbus.EventBus;
/** Main application class. */
-public class PodcastApp extends Application {
+public class PodcastApp extends MultiDexApplication {
// make sure that ClientConfigurator executes its static code
static {