summaryrefslogtreecommitdiffstats
path: root/android/source/res
diff options
context:
space:
mode:
authorMert Tümer <merttumer7@gmail.com>2018-04-14 12:00:59 +0300
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-06-01 04:28:30 +0200
commit22ef830aa01bfe1e74d649d3ad01ece29a72c44d (patch)
treefa6427d910cdccd903cfeb3bfa9898ed9ad4153d /android/source/res
parenttdf#115600 Use "Navigation element not found" message for Headings (diff)
downloadcore-22ef830aa01bfe1e74d649d3ad01ece29a72c44d.tar.gz
core-22ef830aa01bfe1e74d649d3ad01ece29a72c44d.zip
Added Storage permission handling on the Android Viewer
This patch prevents document browsing and creating a new document from happening when write external storage permission is denied by the user. Signed-off-by: Mert Tümer <merttumer7@gmail.com> Change-Id: Idf39a291a15a9dac023f4318329baed1baa90e14 Reviewed-on: https://gerrit.libreoffice.org/52868 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'android/source/res')
-rw-r--r--android/source/res/layout/activity_document_browser.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/source/res/layout/activity_document_browser.xml b/android/source/res/layout/activity_document_browser.xml
index 1f26195c2025..63f72346c0c6 100644
--- a/android/source/res/layout/activity_document_browser.xml
+++ b/android/source/res/layout/activity_document_browser.xml
@@ -125,6 +125,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:clickable="true"
+ android:visibility="invisible"
app:backgroundTint="@color/background_normal"
app:fabSize="normal"
app:layout_constraintBottom_toBottomOf="parent"