From: Po Lu Date: Thu, 9 May 2024 01:00:02 +0000 (+0800) Subject: Don't report erroneous /content directory on Android 4.3 and earlier X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db0d8ca73d2fb0aa6519c68107c7d898bbb564d9;p=emacs.git 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. (cherry picked from commit 8bc4292673dfc04ce781e242596779809f1a3634) --- diff --git a/src/androidvfs.c b/src/androidvfs.c index 38bec7d349a..c326896d4c3 100644 --- a/src/androidvfs.c +++ b/src/androidvfs.c @@ -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. */