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

Skip to content
Commit d49e7696 authored by Ted Bauer's avatar Ted Bauer Committed by Android Build Coastguard Worker
Browse files

fix: ignore XML value in DeviceConfig for RO flags

Make DeviceConfig.getProperty/getProperties return no XML values for
read-only aconfig flags. Only in-memory defaults are now returned.

In general, for read-only flags, this is not needed, since aconfig
codegen compiles away DeviceConfig reads. This addresses a problem with
exported flags, that read from DC even if read-only.

Flag: com.android.providers.settings.ignore_xml_for_read_only_flags
Bug: 345007098
Test: confirmed a read-only flag is not flipped in DeviceConfig
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:13ece1352d789289a2e049d8500f2a5ace0b949d)
Merged-In: I366c989f1aa8caabd00d0b502785b68142cba927
Change-Id: I366c989f1aa8caabd00d0b502785b68142cba927
parent 72208bf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment