Skip to content
Snippets Groups Projects
Commit 1c52b116 authored by Matyáš Latner's avatar Matyáš Latner
Browse files

Merge branch 'feature-inthedarkness' into 'devel'

#313 Fixed game resume on Android device



See merge request !332
parents 41a72c67 5664190d
Branches
Tags
No related merge requests found
......@@ -35,11 +35,14 @@ public class AndroidLauncher extends AndroidApplication {
AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
config.useWakelock = true;
config.numSamples = MULTI_SAMPLING_2X;
initialize(tablexia = new Tablexia(BuildConfig.BUILD_TYPE,
getResources().getConfiguration().locale,
SQL_CONNECTION_TYPE,
new AndroidConnectionManager(getContext()),
savedInstanceState == null), config);
if (savedInstanceState == null && tablexia == null) {
initialize(tablexia = new Tablexia(BuildConfig.BUILD_TYPE,
getResources().getConfiguration().locale,
SQL_CONNECTION_TYPE,
new AndroidConnectionManager(getContext()),
savedInstanceState == null), config);
}
if (TablexiaSettings.getInstance().getBuildType().isBugReport() && TablexiaBuildConfig.FLURRY_KEY != null) {
FlurryAgent.setLogEnabled(false);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment