Use RRO for product-specific resources
Currently PackageInstaller is compiled differently, depending on the product (tv / tablet) to select product-specific resources. That causes divergence of system.img among targets. Setting generate_product_characteristics_rro will automatically generate an RRO package which contains resources having product="{PRODUCT_CHARACTERISTICS}"'. The RRO package will be installed to /product partition. PackageInstaller will instead be compiled with '--product default', making system.img identical to all targets. This also reduces complexity and duplicates of Android.bp. Bug: 325011777 Test: boot and idmap2 dump Change-Id: Ie345dd112a66bfd0d26d3b59a47bc2d982fe42c1
Loading
Please register or sign in to comment