diff --git a/device-common.mk b/device-common.mk
index 0ceb1242..81590245 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -43,3 +43,7 @@ PRODUCT_PRODUCT_PROPERTIES += \
# ZramWriteback
-include hardware/google/pixel/mm/device_gki.mk
+
+# Set thermal warm reset
+PRODUCT_PRODUCT_PROPERTIES += \
+ ro.thermal_warmreset = true
diff --git a/device.mk b/device.mk
index 29c5b309..0d1c475f 100644
--- a/device.mk
+++ b/device.mk
@@ -407,6 +407,7 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
+ frameworks/native/data/etc/android.hardware.sensor.dynamic.head_tracker.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.dynamic.head_tracker.xml \
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml \
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml\
@@ -1148,3 +1149,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
frameworks/native/data/etc/android.hardware.device_unique_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.device_unique_attestation.xml
+
+# Call deleteAllKeys if vold detects a factory reset
+PRODUCT_VENDOR_PROPERTIES += ro.crypto.metadata_init_delete_all_keys.enabled=true
diff --git a/device_framework_matrix_product.xml b/device_framework_matrix_product.xml
index d9856b84..7744771b 100644
--- a/device_framework_matrix_product.xml
+++ b/device_framework_matrix_product.xml
@@ -165,9 +165,9 @@
default
-
+
vendor.google.google_battery
- 1.2
+ 1
IGoogleBattery
default
diff --git a/manifest-gralloc3.xml b/manifest-gralloc3.xml
index 68cac541..920307a3 100644
--- a/manifest-gralloc3.xml
+++ b/manifest-gralloc3.xml
@@ -131,14 +131,13 @@
default
-
- vendor.google.google_battery
- hwbinder
- 1.2
-
- IGoogleBattery
- default
-
+
+ vendor.google.google_battery
+ 1
+
+ IGoogleBattery
+ default
+
vendor.google.whitechapel.audio.audioext
diff --git a/manifest.xml b/manifest.xml
index a89d04cf..af2fa437 100644
--- a/manifest.xml
+++ b/manifest.xml
@@ -64,14 +64,13 @@
default
-
- vendor.google.google_battery
- hwbinder
- 1.2
-
- IGoogleBattery
- default
-
+
+ vendor.google.google_battery
+ 1
+
+ IGoogleBattery
+ default
+
vendor.google.whitechapel.audio.audioext