aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/androidvfs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/androidvfs.c b/src/androidvfs.c
index bb855099c77..14da8eed37e 100644
--- a/src/androidvfs.c
+++ b/src/androidvfs.c
@@ -2599,9 +2599,10 @@ android_content_name (struct android_vnode *vnode, char *name,
2599 component_end++; 2599 component_end++;
2600 2600
2601 /* Now, find out if the first component is a special vnode; if so, 2601 /* Now, find out if the first component is a special vnode; if so,
2602 call its root lookup function with the rest of NAME there. */ 2602 call its root lookup function with the rest of NAME there. What is
2603 more, content files are inaccessible in the absence of a GUI. */
2603 2604
2604 if (api < 19) 2605 if (api < 19 || !android_init_gui)
2605 i = 3; 2606 i = 3;
2606 else if (api < 21) 2607 else if (api < 21)
2607 i = 1; 2608 i = 1;