It is no longer a surprise for anyone to see Xiaomi shipping the same device with different displays and different displays usually mean different touchscreen drivers. The current double tap handling in the power HAL only takes into account one specific node, meant to be set in the device tree. However, if the touchscreen was registered as a different input device it would cause the feature to be broken. Address the issue by iterating through the input devices in order to find one supported touchscreen input to be used. Co-authored-by: LuK1337 <priv.luk@gmail.com> Change-Id: I2f7fb4a8b0c9cd1a16d6c2b93602d285a191f170 |
||
---|---|---|
bluetooth/include | ||
configs | ||
fod | ||
libhidl | ||
light | ||
overlay | ||
overlay-lineage | ||
parts | ||
power | ||
recovery | ||
Android.bp | ||
Android.mk | ||
AndroidProducts.mk | ||
board-info.txt | ||
BoardConfig.mk | ||
device.mk | ||
extract-files.sh | ||
lineage_davinci.mk | ||
proprietary-files.txt | ||
README.md | ||
releasetools.py | ||
setup-makefiles.sh |
Copyright (C) 2020 The LineageOS Project
Device configuration for Xiaomi Mi 9T/Redmi K20
The Xiaomi Mi 9T/Redmi K20 (codenamed "davinci") is a mid-range smartphone from Xiaomi.
It was announced in June 2019. Release date was June 2019.
Device specifications
Basic | Spec Sheet |
---|---|
CPU | Dual-core 2.2 GHz Kryo 470 Gold & Hexa-core 1.8 GHz Kryo 470 Silver |
Chipset | Qualcomm SDM730 Snapdragon 730 |
GPU | Adreno 618 |
Memory | 6 GB RAM |
Shipped Android Version | 9.0 |
Storage | 64/128 GB (UFS 2.0) |
Battery | Non-removable Li-Po 4000 mAh |
Display | 1080 x 2340 pixels, 6.39 inches (~428 ppi pixel density) |
Camera | Main 48 MP f/1.8, telephoto lens, ultrawide lens, dual-LED (dual tone) flash |