diff options
author | Andrew Dolgov <[email protected]> | 2015-06-05 10:18:13 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-06-05 10:18:13 +0300 |
commit | df1dcca834d840ac49d502c590eba5912dbda294 (patch) | |
tree | 0141e4ead0d7ed46eaf49745b212454a77e0e330 /org.fox.ttrss | |
parent | d59b695ae99379e01d835ac3aa51725fbc853934 (diff) |
add workaround for android issue #26658
Diffstat (limited to 'org.fox.ttrss')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java index 8766d3cd..86a9214b 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/OnlineActivity.java @@ -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); |