summaryrefslogtreecommitdiff
path: root/libsparse/sparse.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-02-16 12:03:19 -0800
committerTom Cherry <tomcherry@google.com>2019-02-19 13:02:58 -0800
commitbe0489281f4a9d7ae80feef1993558c13a261b35 (patch)
tree9a18fd8a390b6d3098e6488f7f57d516f7dd8948 /libsparse/sparse.cpp
parentfd877db2bc6756fbccf0b39bc3abfeb856f2adef (diff)
init: Ignore "ro." restrictions when reading prop files
"ro." properties do not make sense for prop files, especially with the way that the system/product and vendor/odm partitions are meant to override each other. To fix this, we ignore the fact that "ro." properties are "write once" when first loading in property files. We then adjust the order of property file loading, such that we read partitions from least to most specific, reading in order: system, vendor, odm, product, product_services. Bug: 122864654 Test: ro. properties can override when reading build props with appropriate permissions Test: ro. properties do not override when lacking permissions to be set by a given partition Change-Id: Ib9a5f77e95d9df647cdde7a5c937bb3425c066fa
Diffstat (limited to 'libsparse/sparse.cpp')
0 files changed, 0 insertions, 0 deletions