diff options
author | 2023-08-18 19:43:38 +0000 | |
---|---|---|
committer | 2023-08-18 19:43:38 +0000 | |
commit | 9836a1cebb1a95112140c96fad1104d191de391e (patch) | |
tree | b2868830f6884bd31c5444feee6708293c97156a /tools/aapt/FileFinder.cpp | |
parent | 5eef9a145702b2069656ff6cfd147adfe1adbaab (diff) | |
parent | 0e91b7269483d6392203606b3a766807d175b4ba (diff) |
Merge "Use String8/16 c_str [tools]" into udc-dev-plus-aosp am: b370693c67 am: 64441287a5 am: 0e91b72694
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/24484497
Change-Id: I1436ad48bfcbe44c5fc67d41f76cd86cd6a62048
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'tools/aapt/FileFinder.cpp')
-rw-r--r-- | tools/aapt/FileFinder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/aapt/FileFinder.cpp b/tools/aapt/FileFinder.cpp index c9d0744a4463..a5c19806c804 100644 --- a/tools/aapt/FileFinder.cpp +++ b/tools/aapt/FileFinder.cpp @@ -59,14 +59,14 @@ bool SystemFileFinder::findFiles(String8 basePath, Vector<String8>& extensions, String8 fullPath = basePath.appendPathCopy(entryName); // If this entry is a directory we'll recurse into it - if (isDirectory(fullPath.string()) ) { + if (isDirectory(fullPath.c_str()) ) { DirectoryWalker* copy = dw->clone(); findFiles(fullPath, extensions, fileStore,copy); delete copy; } // If this entry is a file, we'll pass it over to checkAndAddFile - if (isFile(fullPath.string()) ) { + if (isFile(fullPath.c_str()) ) { checkAndAddFile(fullPath,dw->entryStats(),extensions,fileStore); } } |