add workaround for android issue #26658
This commit is contained in:
parent
d59b695ae9
commit
df1dcca834
@ -155,6 +155,12 @@ public class OnlineActivity extends CommonActivity {
|
|||||||
|
|
||||||
super.onCreate(savedInstanceState);
|
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);
|
||||||
|
|
||||||
SharedPreferences localPrefs = getSharedPreferences("localprefs", Context.MODE_PRIVATE);
|
SharedPreferences localPrefs = getSharedPreferences("localprefs", Context.MODE_PRIVATE);
|
||||||
|
Loading…
Reference in New Issue
Block a user