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, component_end++; /* Now, find out if the first component is a special vnode; if so, - call its root lookup function with the rest of NAME there. */ + call its root lookup function with the rest of NAME there. What is + more, content files are inaccessible in the absence of a GUI. */ - if (api < 19) + if (api < 19 || !android_init_gui) i = 3; else if (api < 21) i = 1;