aconfig: update pb file location

We have moved the storage records metadata pb file to the boot dir.

Bug: b/321077378
Test: atest aconfig_storage_read_api.test
Change-Id: Ic5bd89052e311ec5b1993ba1779d49be8451caa2
This commit is contained in:
Dennis Shen 2024-03-20 16:38:09 +00:00
parent b0dfb70381
commit 5e909adbc8
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ namespace aconfig_storage {
/// Storage location pb file
static constexpr char kAvailableStorageRecordsPb[] =
"/metadata/aconfig/available_storage_file_records.pb";
"/metadata/aconfig/boot/available_storage_file_records.pb";
/// Read aconfig storage records pb file
static Result<storage_records_pb> read_storage_records_pb(std::string const& pb_file) {

View file

@ -57,7 +57,7 @@ use std::fs::File;
use std::io::Read;
/// Storage file location pb file
pub const STORAGE_LOCATION_FILE: &str = "/metadata/aconfig/available_storage_file_records.pb";
pub const STORAGE_LOCATION_FILE: &str = "/metadata/aconfig/boot/available_storage_file_records.pb";
/// Get read only mapped storage files.
///