Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 5b9fc904 authored by Dennis Shen's avatar Dennis Shen
Browse files

aconfig_storage_read_api: allow read api to read from mutable mapping

In aconfigd, we also need to read from mutable storage files (persist
copies of storage files). Current read API only accepts Mmap which is
immutable. We need it to also accept MmapMut. Since both Mmap and
MmapMut deref to &[u8], change the function signature to accept &[u8].

Bug: b/327170179
Test: atest -c
Change-Id: I0a7d99bc38176c2aeae8c20f749419caf1d365fa
parent c923e384
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment