summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2015-02-05 19:03:06 +0900
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-02-09 08:12:10 +0100
commit24b28151c8b89043b0d75bf61d839a629ca3bf70 (patch)
treeeba969ece61778f094ea9cdda0766908a40a1965 /android
parent0059a213c1e52911d92702af269a296f5ece913a (diff)
android: allow only "file" and "content" URI scheme
Content scheme is used by GMail App for example. Change-Id: I3583d38c42b9ad96209f0cd178ea6957a7aec86c
Diffstat (limited to 'android')
-rw-r--r--android/experimental/LOAndroid3/AndroidManifest.xml.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/android/experimental/LOAndroid3/AndroidManifest.xml.in b/android/experimental/LOAndroid3/AndroidManifest.xml.in
index 3a17f6297e07..244c6db60ee5 100644
--- a/android/experimental/LOAndroid3/AndroidManifest.xml.in
+++ b/android/experimental/LOAndroid3/AndroidManifest.xml.in
@@ -16,7 +16,9 @@
android:icon="@drawable/main"
android:label="@string/app_name"
android:hardwareAccelerated="true"
- android:theme="@style/AppTheme">
+ android:theme="@style/AppTheme"
+ android:largeHeap="false">
+
<!-- Viewer Activity -->
<activity
android:name=".LibreOfficeMainActivity"
@@ -28,6 +30,9 @@
<action android:name="android.intent.action.PICK" />
<category android:name="android.intent.category.DEFAULT" />
+ <data android:scheme="file"/>
+ <data android:scheme="content"/>
+
<!-- Please keep this in sync with FileUtilities.java. -->
<!-- ODF -->
@@ -83,6 +88,7 @@
</intent-filter>
</activity>
+
<!-- Document Browser Activity -->
<activity android:name=".ui.LibreOfficeUIActivity"
android:label="@string/app_name">
@@ -91,6 +97,7 @@
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
+
</application>
</manifest>