zram: add zram size property
Bug: 200899926 Test: check zram swap and backing device Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: Ife748938f5e7cfb34c343a3f568c93824f33e8fe Merged-In: Ife748938f5e7cfb34c343a3f568c93824f33e8fe
This commit is contained in:
parent
c946f4e563
commit
bbb311acfc
3 changed files with 8 additions and 3 deletions
|
@ -56,6 +56,3 @@ on property:ro.revision=PROTO1.0
|
|||
# SecureElement eSE2 cts mode
|
||||
on property:persist.vendor.se.ese2.mode=ctsmode
|
||||
write /sys/class/st33spi/st33spi/st33spi_state 33
|
||||
|
||||
on late-fs
|
||||
setprop vendor.zram.size 3GB
|
||||
|
|
|
@ -212,3 +212,7 @@ PRODUCT_PACKAGES += \
|
|||
# Override default distortion output gain according to UX experiments
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
vendor.audio.hapticgenerator.distortion.output.gain=0.5
|
||||
|
||||
# Set zram size
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.zram.size=3g
|
||||
|
|
|
@ -219,3 +219,7 @@ PRODUCT_PACKAGES += \
|
|||
# Override default distortion output gain according to UX experiments
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
vendor.audio.hapticgenerator.distortion.output.gain=0.5
|
||||
|
||||
# Set zram size
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.zram.size=3g
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue