Arian 472e0182dc davinci: parts: Restore the LED's previous state after popup
* We are using the left led as notification LED and hence it
  could be breathing or shining while we open or close the
  camera. So we don't just set it's brightness to 0 but read
  and store the state of the LED before enabling it and
  restoring that afterwards.

* To ensure that the left LED is shining while the camera
  opens or closes we set it's breathing effect to 0 before
  enabling the LEDs.

Change-Id: Ibdfbff3072398bc77ec3257b60622cfc50e8d857
2020-12-17 23:30:59 +01:00
2020-11-23 20:44:38 +01:00

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

Device picture

Xiaomi Mi 9T/Redmi K20

Description
No description provided
Readme 5.1 MiB
Languages
C++ 82.9%
C 13.4%
Makefile 1.7%
Shell 1%
M4 0.6%
Other 0.4%