summaryrefslogtreecommitdiff
path: root/tools/warn/java_warn_patterns.py
diff options
context:
space:
mode:
author Dennis Shen <dzshen@google.com> 2024-10-20 23:57:03 +0000
committer Dennis Shen <dzshen@google.com> 2024-10-22 11:28:29 +0000
commit5b9fc904dbbb4b43a7c3e9c585383282d41d2290 (patch)
tree5d7c0f153df705218cf5307b3e4ff0b65099da6d /tools/warn/java_warn_patterns.py
parentc923e384aba7331f91a44251f5cb25a6beb64a82 (diff)
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
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions