Fix vector drawables on api 19
This commit is contained in:
parent
b15139b9d9
commit
28e6b02c09
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,7 @@ import android.preference.PreferenceManager;
|
|||
import android.support.multidex.MultiDex;
|
||||
import android.support.multidex.MultiDexApplication;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
import android.support.v7.app.AppCompatDelegate;
|
||||
import android.text.format.DateFormat;
|
||||
import android.view.View;
|
||||
import android.view.accessibility.AccessibilityManager;
|
||||
|
@ -139,6 +140,9 @@ public class OsmandApplication extends MultiDexApplication {
|
|||
}
|
||||
}
|
||||
super.onCreate();
|
||||
if (android.os.Build.VERSION.SDK_INT < 21) {
|
||||
AppCompatDelegate.setCompatVectorFromResourcesEnabled(true);
|
||||
}
|
||||
createInUiThread();
|
||||
uiHandler = new Handler();
|
||||
appCustomization = new OsmAndAppCustomization();
|
||||
|
|
Loading…
Reference in a new issue