diff options
author | Songchun Fan <schfan@google.com> | 2020-02-03 17:32:32 -0800 |
---|---|---|
committer | Songchun Fan <schfan@google.com> | 2020-02-04 03:27:45 +0000 |
commit | 103ba1db218e15391e82801e479071539bfe7879 (patch) | |
tree | 7b986ac26e61cc43f4b33ee1f527bbd643c96143 /services/incremental/IncrementalService.h | |
parent | 206a1b5490ccef98aa88d24496892926b9e66c09 (diff) |
more normalized path fix
Test: manual
Change-Id: I8fe073cb4bc4fa1a3af784cfcfa8db4d0a232991
Diffstat (limited to 'services/incremental/IncrementalService.h')
-rw-r--r-- | services/incremental/IncrementalService.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/services/incremental/IncrementalService.h b/services/incremental/IncrementalService.h index ca5e4dbd9231..f8518fd58679 100644 --- a/services/incremental/IncrementalService.h +++ b/services/incremental/IncrementalService.h @@ -18,8 +18,8 @@ #include <android-base/strings.h> #include <android-base/unique_fd.h> -#include <android/os/incremental/IIncrementalManager.h> #include <android/content/pm/DataLoaderParamsParcel.h> +#include <android/os/incremental/IIncrementalManager.h> #include <binder/IServiceManager.h> #include <utils/String16.h> #include <utils/StrongPointer.h> @@ -92,8 +92,7 @@ public: std::optional<std::future<void>> onSystemReady(); - StorageId createStorage(std::string_view mountPoint, - DataLoaderParamsParcel&& dataLoaderParams, + StorageId createStorage(std::string_view mountPoint, DataLoaderParamsParcel&& dataLoaderParams, CreateOptions options = CreateOptions::Default); StorageId createLinkedStorage(std::string_view mountPoint, StorageId linkedStorage, CreateOptions options = CreateOptions::Default); @@ -207,6 +206,8 @@ private: void deleteStorage(IncFsMount& ifs); void deleteStorageLocked(IncFsMount& ifs, std::unique_lock<std::mutex>&& ifsLock); MountMap::iterator getStorageSlotLocked(); + std::string normalizePathToStorage(const IfsMountPtr incfs, StorageId storage, + std::string_view path); // Member variables std::unique_ptr<VoldServiceWrapper> mVold; |