tools/aconfig/aconfig_storage_read_api/src/test_utils.rs
deleted100644 → 0
+0
−26
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Update storage read api to not find storage file location from a pb file, instead directly read from /metadata copy. Previously for package.map and flag.map, we are reading from the respective RO partition. Now we are reading from /metadata/maps dir. This has a few advantages: 1, early flag availability, since /metadata can be mounted much earlier than mainline modules, so it would make mainline flags availabile even before mainline modules are mounted. 2, we no longer need to read from a pb file to find where package.map and flag.map are. Thus the read api can be further simplified and downsized. With this change, we are able to shrink the cc flag read api lib size from 171k to 120k. Bug: b/321077378 Test atest -c Change-Id: Ic9086fe4c49c139a4d1c66a8d472023a88c9dd17