Move default native bridge value to build.prop
Before this change it was part of default.prop, which is applied before init.rc is executed, so that scripts cannot override the property. In contrast, build.prop is applied at "init-late" stage, so that one has a chance to override the property in scripts using "init" or "init-early" triggers. (cherry-picked from 74b2da9db67f5da2195c9b07dab22c868934e396) Test: fugu still works Bug: 63133475 Merged-In: I0842abaaec1d353ebe4debda6dfe3e2c42146786 Change-Id: I0842abaaec1d353ebe4debda6dfe3e2c42146786
This commit is contained in:
parent
ae470d419a
commit
be80acfd1a
1 changed files with 3 additions and 1 deletions
|
@ -61,12 +61,14 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
|||
dalvik.vm.image-dex2oat-Xmx=64m \
|
||||
dalvik.vm.dex2oat-Xms=64m \
|
||||
dalvik.vm.dex2oat-Xmx=512m \
|
||||
ro.dalvik.vm.native.bridge=0 \
|
||||
dalvik.vm.usejit=true \
|
||||
dalvik.vm.usejitprofiles=true \
|
||||
dalvik.vm.dexopt.secondary=true \
|
||||
dalvik.vm.appimageformat=lz4
|
||||
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.dalvik.vm.native.bridge=0
|
||||
|
||||
# Different dexopt types for different package update/install times.
|
||||
# On eng builds, make "boot" reasons only extract for faster turnaround.
|
||||
ifeq (eng,$(TARGET_BUILD_VARIANT))
|
||||
|
|
Loading…
Reference in a new issue