Closed artem-zinnatullin closed 9 years ago
@artem-zinnatullin, I've experienced something like this with Chrome some time ago I'll look into this ASAP.
@artem-zinnatullin any ideas why can it happen? Can you even reproduce this?
@ilya-murzinov I think it's Android problem, but I'll check the code when I'll have time
Problem is in WailApp.java
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
LocaleUtil.updateLanguage(this, WAILSettings.getLanguage(this));
}
and LocalUtil.java
if (newLang != null && !language.equals(newLang)) {
Intent intent = context.getPackageManager()
.getLaunchIntentForPackage(context.getPackageName());
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
context.startActivity(intent);
}
100% true
вт, 20 янв. 2015, 16:52, Ilya Murzinov notifications@github.com:
Problem is in WailApp.java
@Override public void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); LocaleUtil.updateLanguage(this, WAILSettings.getLanguage(this)); }
and LocalUtil.java
if (newLang != null && !language.equals(newLang)) { Intent intent = context.getPackageManager() .getLaunchIntentForPackage(context.getPackageName()); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); context.startActivity(intent); }
— Reply to this email directly or view it on GitHub https://github.com/artem-zinnatullin/android-wail-app/issues/90#issuecomment-70655720 .
https://plus.google.com/+RicardoSilva1973/posts/CdGSn1JzZdn