summaryrefslogtreecommitdiff
path: root/android/source/AndroidManifest.xml
diff options
context:
space:
mode:
authorbrainbreaker <gautamprajapati06@gmail.com>2017-02-26 02:27:43 +0530
committerAleksandar Stefanović <theonewithideas@gmail.com>2017-02-27 14:08:32 +0000
commit5ada20b3588f76cad5b7f39442147fca3d63bec7 (patch)
tree622dbcd10408b344be078b08aec7559c3f6afc1c /android/source/AndroidManifest.xml
parent87847bb8b87b80f338bc010d413ce2c9f912e6ec (diff)
Improve the Document Provider UX
This commit improves the user experience of different Document Providers in the app. In case ext sd card is not present, the option is disabled in Navigation Menu. If the device does not support USB OTG, the option is disabled. LibreOfficeUIActivity registers a broadcast receiver in onCreate which detects if a USB device is connected and directs the user to Settings page to configure it. In case of errors in configuration in any case, user is directed to Settings activity after appropriate toast. Change-Id: I680f78a679e2071ce8330c8168d7aa4e95041723 Reviewed-on: https://gerrit.libreoffice.org/34650 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Aleksandar Stefanović <theonewithideas@gmail.com>
Diffstat (limited to 'android/source/AndroidManifest.xml')
-rw-r--r--android/source/AndroidManifest.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/source/AndroidManifest.xml b/android/source/AndroidManifest.xml
index 7e352088ecde..601f478ae352 100644
--- a/android/source/AndroidManifest.xml
+++ b/android/source/AndroidManifest.xml
@@ -4,6 +4,8 @@
<!-- App requires OpenGL ES 2.0 -->
<uses-feature android:glEsVersion="0x00020000" android:required="true" />
+ <!-- App wants to know if device supports USB host capability(not mandatory) -->
+ <uses-feature android:name="android.hardware.usb.host" android:required="false"/>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET" />