1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2024-11-25 13:52:08 +01:00
This commit is contained in:
vanitasvitae 2016-10-26 22:35:57 +02:00
parent ef43ed2f7f
commit bafcfd46d6
Signed by: vanitasvitae
GPG key ID: DCCFB3302C9E4615

View file

@ -23,6 +23,7 @@ import android.app.Application;
import android.content.Context; import android.content.Context;
import android.os.Build; import android.os.Build;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatDelegate;
import android.webkit.CookieManager; import android.webkit.CookieManager;
import android.webkit.CookieSyncManager; import android.webkit.CookieSyncManager;
import android.webkit.WebView; import android.webkit.WebView;
@ -62,6 +63,7 @@ public class App extends Application {
CookieSyncManager.createInstance(c); CookieSyncManager.createInstance(c);
} }
cookieManager.setAcceptCookie(true); cookieManager.setAcceptCookie(true);
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
} }
public void resetPodData(@Nullable WebView webView) { public void resetPodData(@Nullable WebView webView) {