diff options
Diffstat (limited to 'android/source/AndroidManifest.xml')
-rw-r--r-- | android/source/AndroidManifest.xml | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/android/source/AndroidManifest.xml b/android/source/AndroidManifest.xml index 53a064fb901b..0a11a1d3654b 100644 --- a/android/source/AndroidManifest.xml +++ b/android/source/AndroidManifest.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" - android:installLocation="${installLocation}" - package="org.libreoffice"> + android:installLocation="${installLocation}"> <!-- App requires OpenGL ES 2.0 --> <uses-feature android:glEsVersion="0x00020000" android:required="true" /> @@ -10,11 +9,9 @@ <uses-feature android:name="android.hardware.camera" android:required="false"/> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> - <!-- extractNativeLibs="true" needed e.g. for NSS to load modules at runtime --> <application android:name=".LibreOfficeApplication" android:allowBackup="true" - android:extractNativeLibs="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/LibreOfficeTheme" @@ -25,9 +22,9 @@ <!-- When changing android:windowSoftInputMode, please don't specify multiple "adjust..." or "state...". --> <activity android:name=".LibreOfficeMainActivity" - android:label="@string/app_name" android:configChanges="orientation|keyboard|keyboardHidden|screenLayout|uiMode|screenSize|smallestScreenSize" - android:windowSoftInputMode="adjustResize" > + android:windowSoftInputMode="adjustResize" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.VIEW" /> @@ -48,9 +45,7 @@ <data android:mimeType="application/vnd.oasis.opendocument.text-flat-xml" /> <data android:mimeType="application/vnd.oasis.opendocument.graphics-flat-xml" /> <data android:mimeType="application/vnd.oasis.opendocument.presentation-flat-xml" /> - <!-- TODO: opening FODS documents crashes currently <data android:mimeType="application/vnd.oasis.opendocument.spreadsheet-flat-xml" /> - --> <!-- ODF templates --> <data android:mimeType="application/vnd.oasis.opendocument.text-template"/> @@ -72,7 +67,7 @@ <!-- OOXML --> <data android:mimeType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" /> <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.presentation" /> - <!-- Currently crashes. <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow"/> --> + <data android:mimeType="application/vnd.openxmlformats-officedocument.presentationml.slideshow" /> <data android:mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document" /> <!-- OOXML templates --> @@ -97,13 +92,13 @@ <activity android:name=".SettingsActivity" - android:theme="@style/Theme.AppCompat.Light.DarkActionBar" + android:theme="@style/Theme.AppCompat.DayNight.DarkActionBar" android:label="@string/app_name_settings"> </activity> <!-- Document Browser Activity --> <activity android:name="org.libreoffice.ui.LibreOfficeUIActivity" - android:label="@string/app_name" > + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> @@ -118,7 +113,7 @@ </activity> <provider - android:name="android.support.v4.content.FileProvider" + android:name="androidx.core.content.FileProvider" android:authorities="${applicationId}.fileprovider" android:exported="false" android:grantUriPermissions="true"> |