[Libreoffice-commits] core.git: Branch 'feature/droid_calcimpress2' - android/experimental
Tomaž Vajngerl
tomaz.vajngerl at collabora.com
Tue Sep 30 12:17:36 PDT 2014
android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 056ef0b4ad3649c21eadd82be65178580a32be20
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.com>
Date: Tue Sep 30 21:16:29 2014 +0200
android: don't return to open document if viewing license / notice
Change-Id: I12994aa60fa2476ef94153b5ba13000ece71d28b
diff --git a/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/experimental/LOAndroid3/src/java/org/libreoffice/LibreOfficeMainActivity.java
index 886fbd9..a37438e 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);
}
More information about the Libreoffice-commits
mailing list