Don't report erroneous /content directory on Android 4.3 and earlier

* src/androidvfs.c (android_content_opendir): Skip two, not one,
elements on Android <= 4.4.
This commit is contained in:
Po Lu 2024-05-09 09:00:02 +08:00
parent 36c68e7e34
commit 8bc4292673

View file

@ -2813,7 +2813,7 @@ android_content_opendir (struct android_vnode *vnode)
/* Android 4.3 and earlier don't support /content/by-authority. */
if (api < 19)
dir->next_name++;
dir->next_name += 2;
/* Link this stream onto the list of all content directory
streams. */