summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-prod (mdb) <android-build-team-robot@google.com>2019-11-04 21:03:50 +0000
committerandroid-build-prod (mdb) <android-build-team-robot@google.com>2019-11-04 21:03:50 +0000
commit94caa849ecf02df37e07a7d8328d7b28cc227bae (patch)
tree4175df7bf32016c999fdf8867e3632da0a04aa52
parent943be9cdc382c3f7ddb9edec008ce46c0e8ebb00 (diff)
parent5dd4b5bcf9bc120c18fb28a181ac5f75f21748a1 (diff)
downloadcrosshatch-android10-tests-release.tar.gz
Change-Id: I58ee87111674dc716dd0cb47375b0783cb38a997
-rw-r--r--audio/crus_sp_config_b1_rx.binbin2356 -> 2356 bytes
-rw-r--r--audio/crus_sp_config_b1_tx.binbin1700 -> 1700 bytes
-rw-r--r--device.mk12
-rw-r--r--fstab.hardware2
-rw-r--r--fstab.postinstall20
-rw-r--r--init.hardware.rc1
-rwxr-xr-xoverlay/frameworks/base/core/res/res/values/config.xml3
7 files changed, 3 insertions, 35 deletions
diff --git a/audio/crus_sp_config_b1_rx.bin b/audio/crus_sp_config_b1_rx.bin
index 758256a3..5681b3da 100644
--- a/audio/crus_sp_config_b1_rx.bin
+++ b/audio/crus_sp_config_b1_rx.bin
Binary files differ
diff --git a/audio/crus_sp_config_b1_tx.bin b/audio/crus_sp_config_b1_tx.bin
index 47d08182..ec31c3cf 100644
--- a/audio/crus_sp_config_b1_tx.bin
+++ b/audio/crus_sp_config_b1_tx.bin
Binary files differ
diff --git a/device.mk b/device.mk
index 7e79fe8b..6820139b 100644
--- a/device.mk
+++ b/device.mk
@@ -323,9 +323,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
persist.rcs.supported=1 \
vendor.rild.libpath=/vendor/lib64/libril-qc-hal-qmi.so \
ro.hardware.keystore_desede=true \
- ro.zram.mark_idle_delay_mins=60 \
- ro.zram.first_wb_delay_mins=180 \
- ro.zram.periodic_wb_delay_hours=24 \
# Disable snapshot timer
PRODUCT_PROPERTY_OVERRIDES += \
@@ -816,7 +813,7 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
# Increment the SVN for any official public releases
PRODUCT_PROPERTY_OVERRIDES += \
- ro.vendor.build.svn=18
+ ro.vendor.build.svn=20
PRODUCT_PRODUCT_PROPERTIES += \
ro.adb.secure=1
@@ -838,13 +835,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/thermal_info_config_$(PRODUCT_HARDWARE).json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json \
$(LOCAL_PATH)/thermal_info_config_$(PRODUCT_HARDWARE)_evt.json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config_evt.json
-# Use /product/etc/fstab.postinstall to mount system_other
-PRODUCT_PRODUCT_PROPERTIES += \
- ro.postinstall.fstab.prefix=/product
-
-PRODUCT_COPY_FILES += \
- $(LOCAL_PATH)/fstab.postinstall:$(TARGET_COPY_OUT_PRODUCT)/etc/fstab.postinstall
-
# powerstats HAL
PRODUCT_PACKAGES += \
android.hardware.power.stats@1.0-service.pixel
diff --git a/fstab.hardware b/fstab.hardware
index e18f22b8..be8ecda1 100644
--- a/fstab.hardware
+++ b/fstab.hardware
@@ -9,4 +9,4 @@ product /product ext4
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
/devices/platform/soc/a600000.ssusb/a600000.dwc3* auto vfat defaults voldmanaged=usb:auto
-/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8,zram_loopback_path=/data/unencrypted/zram_swap,zram_loopback_size=512M
+/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8
diff --git a/fstab.postinstall b/fstab.postinstall
deleted file mode 100644
index 34d53823..00000000
--- a/fstab.postinstall
+++ /dev/null
@@ -1,20 +0,0 @@
-#
-# Copyright (C) 2018 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Tries to mount system_other as a logical partition. If that fails, then
-# mount as a physical partition.
-
-#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
-/dev/block/by-name/system /postinstall ext4 ro,nosuid,nodev,noexec slotselect_other,avb_keys=/product/etc/security/avb/system_other.avbpubkey
diff --git a/init.hardware.rc b/init.hardware.rc
index 2684a7ac..f6643dfa 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -599,6 +599,7 @@ on property:sys.boot_completed=1
write /sys/devices/platform/soc/${ro.boot.bootdevice}/hibern8_on_idle_enable 1
# Enable ZRAM on boot_complete
+ rm /data/unencrypted/zram_swap
swapon_all /vendor/etc/fstab.${ro.boot.hardware.platform}
write /proc/sys/vm/swappiness 100
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index fc22219a..84af5304 100755
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -454,9 +454,6 @@
<!-- True if the firmware supports Wi-Fi link probing -->
<bool name="config_wifi_link_probing_supported">true</bool>
- <!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
- <bool name="config_zramWriteback">true</bool>
-
<!-- Enable CBRS support -->
<bool translatable="false" name="config_cbrs_supported">true</bool>
</resources>