diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-09-30 21:16:29 +0200 |
---|---|---|
committer | Tomaž Vajngerl <tomaz.vajngerl@collabora.com> | 2014-10-04 17:47:55 +0200 |
commit | 2e30c62e61d2f2d478db52ddbc8c7a340b5e5c31 (patch) | |
tree | 69a0aab3a6ba91022c9e7067b7a2ef554e80da6c /android | |
parent | aadf10bbf062e925fd612cc797bbd56955c18160 (diff) |
android: don't return to open document if viewing license / notice
Change-Id: I12994aa60fa2476ef94153b5ba13000ece71d28b
Diffstat (limited to 'android')
-rw-r--r-- | android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java index 2f69cf32645e..64d70d058246 100644 --- a/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java +++ b/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java @@ -176,7 +176,7 @@ public class LibreOfficeMainActivity extends Activity { @Override public void onClick(View view) { Intent intent = new Intent(view.getContext(), LibreOfficeMainActivity.class); - //intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); + intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.setData(Uri.parse("file:///assets/license.txt")); startActivity(intent); } @@ -187,7 +187,7 @@ public class LibreOfficeMainActivity extends Activity { @Override public void onClick(View view) { Intent intent = new Intent(view.getContext(), LibreOfficeMainActivity.class); - //intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); + intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); intent.setData(Uri.parse("file:///assets/notice.txt")); startActivity(intent); } |