gsi: init: Treat virtual sensors as real on Unihertz Jelly Max

This commit is contained in:
Peter Cai 2024-12-21 11:05:10 -05:00
parent 6f8c4c3b7e
commit e759d9cc2c

View file

@ -10,10 +10,12 @@ PRESET_PROPS(
// Unihertz Jelly Max: Broken "fake" gravity sensor. Ignore it to use AOSP's SensorFusion
// Also ignore broken inbuilt vibrator effects
// Also it uses "/virtual" instance name for real biometric sensors, for some reason.
PRESET_PROPS(
FP_STARTS_WITH("Unihertz/Jelly_Max"),
"persist.sys.phh.sensor_filter", "mtk:gravity",
"persist.sys.phh.ignore_vibrator_effects", "true"
"persist.sys.phh.ignore_vibrator_effects", "true",
"persist.sys.phh.virtual_sensors_are_real", "true"
);
// Some xiaomi devices: Override default network mode to enable 5G