diff options
author | Jooyung Han <jooyung@google.com> | 2020-09-21 10:56:10 +0900 |
---|---|---|
committer | Jooyung Han <jooyung@google.com> | 2020-09-21 10:56:10 +0900 |
commit | 2833e5d37d838b6e8c7444d79cf96a413f930277 (patch) | |
tree | b20500095774b353e209bd15ecbe8cfa68989e98 /init/firmware_handler.cpp | |
parent | 62ccfa0c613558c3e8738d70e909532ad27380b4 (diff) |
ueventd: change firmware location in apexes
To be consistent with other prebuilt modules within APEXes, the location
for firmware files is switched from /apex/*/firmware to
/apex/*/etc/firmware.
Bug: 167942098
Test: loading vibrator firmware from vibrator apex(sunfish)
Change-Id: Ia05735bf5a54482fded26525fa4a8f795dcfc029
Diffstat (limited to 'init/firmware_handler.cpp')
-rw-r--r-- | init/firmware_handler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/firmware_handler.cpp b/init/firmware_handler.cpp index b50b4efa1..ba7e6bd63 100644 --- a/init/firmware_handler.cpp +++ b/init/firmware_handler.cpp @@ -256,7 +256,7 @@ bool FirmwareHandler::ForEachFirmwareDirectory( } glob_t glob_result; - glob("/apex/*/firmware/", GLOB_MARK, nullptr, &glob_result); + glob("/apex/*/etc/firmware/", GLOB_MARK, nullptr, &glob_result); auto free_glob = android::base::make_scope_guard(std::bind(&globfree, &glob_result)); for (size_t i = 0; i < glob_result.gl_pathc; i++) { char* apex_firmware_directory = glob_result.gl_pathv[i]; |