summaryrefslogtreecommitdiff
path: root/tools/aapt/FileFinder.cpp
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-08-18 21:54:33 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-08-18 21:54:33 +0000
commite1ee1aab9f99d05ca97dee3701afb894a6129446 (patch)
tree6c3998b030418d97643643d99748d6d325ecab3f /tools/aapt/FileFinder.cpp
parent3b35e9d4c877106858de12f30e5cff7bb3e8cbbe (diff)
parentd2a698351d13901b95f836df09e9463344f6ab0e (diff)
Merge "Use String8/16 c_str [tools]" into main
Diffstat (limited to 'tools/aapt/FileFinder.cpp')
-rw-r--r--tools/aapt/FileFinder.cpp4
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);
}
}