aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/org/pacien/tincapp/context/App.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/context/App.kt b/app/src/main/java/org/pacien/tincapp/context/App.kt
index 7aaa3d0..88e1b32 100644
--- a/app/src/main/java/org/pacien/tincapp/context/App.kt
+++ b/app/src/main/java/org/pacien/tincapp/context/App.kt
@@ -5,6 +5,7 @@ import android.content.Context
5import android.content.Intent 5import android.content.Intent
6import android.net.Uri 6import android.net.Uri
7import android.support.annotation.StringRes 7import android.support.annotation.StringRes
8import android.support.multidex.MultiDex
8import android.support.v7.app.AlertDialog 9import android.support.v7.app.AlertDialog
9import android.view.WindowManager 10import android.view.WindowManager
10import org.pacien.tincapp.R 11import org.pacien.tincapp.R
@@ -19,6 +20,11 @@ class App : Application() {
19 appContext = applicationContext 20 appContext = applicationContext
20 } 21 }
21 22
23 override fun attachBaseContext(base: Context) {
24 super.attachBaseContext(base)
25 MultiDex.install(this)
26 }
27
22 companion object { 28 companion object {
23 29
24 private var appContext: Context? = null 30 private var appContext: Context? = null