From db0a71fc58137da99137e9fbea3ee982679c9afd Mon Sep 17 00:00:00 2001 From: rollenrolm Date: Sat, 21 Mar 2015 18:33:32 +0100 Subject: New option to show/hide hidden files --- platform/android/dir_access_jandroid.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'platform/android/dir_access_jandroid.cpp') diff --git a/platform/android/dir_access_jandroid.cpp b/platform/android/dir_access_jandroid.cpp index f32e16e7d8..fda4ca7357 100644 --- a/platform/android/dir_access_jandroid.cpp +++ b/platform/android/dir_access_jandroid.cpp @@ -105,6 +105,9 @@ bool DirAccessJAndroid::current_is_dir() const{ return true; } +bool DirAccessAndroid::current_is_hidden() const{ + return current!="." && current!=".." && current.begins_with("."); +} void DirAccessJAndroid::list_dir_end(){ if (id==0) -- cgit v1.2.3 From 7ad7f2f6a986fa6598ae10f2bb940e15c3658f44 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 23 Mar 2015 11:31:03 -0300 Subject: android fixes, please test (can' t build android atm) --- platform/android/dir_access_jandroid.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'platform/android/dir_access_jandroid.cpp') diff --git a/platform/android/dir_access_jandroid.cpp b/platform/android/dir_access_jandroid.cpp index fda4ca7357..97c5bfed61 100644 --- a/platform/android/dir_access_jandroid.cpp +++ b/platform/android/dir_access_jandroid.cpp @@ -105,6 +105,12 @@ bool DirAccessJAndroid::current_is_dir() const{ return true; } + +bool DirAccessJAndroid::current_is_hidden() const { + + return current!="." && current!=".." && current.begins_with("."); +} + bool DirAccessAndroid::current_is_hidden() const{ return current!="." && current!=".." && current.begins_with("."); } -- cgit v1.2.3 From 8db3922f56dd08e8fa2fed76cbebc1ca5fd79c8f Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 23 Mar 2015 14:15:11 -0300 Subject: small android fix --- platform/android/dir_access_jandroid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android/dir_access_jandroid.cpp') diff --git a/platform/android/dir_access_jandroid.cpp b/platform/android/dir_access_jandroid.cpp index 97c5bfed61..d74f9c7ad2 100644 --- a/platform/android/dir_access_jandroid.cpp +++ b/platform/android/dir_access_jandroid.cpp @@ -111,7 +111,7 @@ bool DirAccessJAndroid::current_is_hidden() const { return current!="." && current!=".." && current.begins_with("."); } -bool DirAccessAndroid::current_is_hidden() const{ +bool DirAccessJAndroid::current_is_hidden() const{ return current!="." && current!=".." && current.begins_with("."); } void DirAccessJAndroid::list_dir_end(){ -- cgit v1.2.3 From 0245d4a2b067fcc98651fe65dad34bed9eb8aa4d Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 23 Mar 2015 16:12:59 -0300 Subject: oops, fucntion was there twice --- platform/android/dir_access_jandroid.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'platform/android/dir_access_jandroid.cpp') diff --git a/platform/android/dir_access_jandroid.cpp b/platform/android/dir_access_jandroid.cpp index d74f9c7ad2..98f20b2636 100644 --- a/platform/android/dir_access_jandroid.cpp +++ b/platform/android/dir_access_jandroid.cpp @@ -111,9 +111,6 @@ bool DirAccessJAndroid::current_is_hidden() const { return current!="." && current!=".." && current.begins_with("."); } -bool DirAccessJAndroid::current_is_hidden() const{ - return current!="." && current!=".." && current.begins_with("."); -} void DirAccessJAndroid::list_dir_end(){ if (id==0) -- cgit v1.2.3