summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Ted Bauer <tedbauer@google.com> 2024-07-08 19:03:57 +0000
committer Android Build Coastguard Worker <android-build-coastguard-worker@google.com> 2024-07-19 19:58:50 +0000
commitd49e7696398f480455d2690f6dc66adcfd5837f8 (patch)
treea45a9b7d193f1120f720794f97327f013c276679 /libs/androidfw/AttributeResolution.cpp
parent72208bf0c76f0c0fc868a4874e3254c840ccd7a0 (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions