add workaround for android issue #26658

This commit is contained in:
Andrew Dolgov 2015-06-05 10:18:13 +03:00
parent d59b695ae9
commit df1dcca834

View File

@ -155,6 +155,12 @@ public class OnlineActivity extends CommonActivity {
super.onCreate(savedInstanceState);
// https://code.google.com/p/android/issues/detail?id=26658
if (!isTaskRoot()) {
finish();
return;
}
// SharedPreferences localPrefs = getSharedPreferences("localprefs", Context.MODE_PRIVATE);
SharedPreferences localPrefs = getSharedPreferences("localprefs", Context.MODE_PRIVATE);