- Jul 18, 2023
-
-
EcrosoftXiao authored
Change-Id: I02496a99f54b00718303e24e0f0dcc252492b910
-
Sebastiano Barezzi authored
The modified library NOPs out the instruction to change binder threadpool, allowing the library to load and camera to work on S. Extend the pattern for cameraperf since "7c 00 00 94" occurs twice to only NOP the configureRpcThreadpool call. Output of llvm-objdump: ``` 3ad0: 7c 00 00 94 bl 0x3cc0 <_ZdlPv@plt> 3b10: 7c 00 00 94 bl 0x3d00 <_ZN7android8hardware22configureRpcThreadpoolEmb@plt> ``` Change-Id: I1ef0ed29e4a2eb820826e5d7df1fa53c9e3df584
-
Arian authored
Change-Id: Ifbde2b5cae85084d524de6a96883c9f04ad63a51
-
Chenyang Zhong authored
The current vector drawable was generated from an auto-traced svg that was based on screen_round_corner_{top,bottom}.png in MIUI's product/overlay/DevicesOverlay.apk. The problem is that the curve edge in the png file is rasterized, which results in a vector asset with jagged edges. Here is what I did to re-draw the curve in native vectorized format: - Open the png in PhotoShop and crop a corner with 1:1 square ratio - Use the pen tool in shape mode to trace the black mask - The corners on Mi 11 series are not perfect arcs. I had to add at least two adjust points to fit the original curve of the png file - Fill the path with black - Export as .svg. I had to convert the color mode to RGB without merging layers because PhotoShop wouldn't let me export svg in grayscale - Import the svg in Android Studio as a vector asset - Grab the content of the drawable .xml Signed-off-by:
Chenyang Zhong <zhongcy95@gmail.com> Change-Id: I2b5e8257e0987f6a975a4bf4cc7d971587510c08
-
Ken Huang authored
Set 120Hz as default refresh rate in the blocking zone Bug: 156462520 Test: no fps transition in the blocking zone Change-Id: Iac4c8ef6a36e4d3a108bb9a17716c7c729e513db
-
Demon000 authored
When the proximity sensor is in use, the smp2p_sleepstate IRQ is fired multiple times a second, with each one holding a 200ms wakelock. This is probably a bug in the DSP firmware. To fix this, avoid using the proximity sensor in doze mode, because sleep is preferred to turning off the screen. Change-Id: I5c54643b3d6d6ea4e5f847870a5266bb96342583
-
FlowerSea0208 authored
Change-Id: I8fe0edfb3a0e7af750202afd1fd4f39434820123
-
FlowerSea0208 authored
Change-Id: If1a8026941df9108655843c6302ff5c5f44cd88a
-
LuK1337 authored
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
-
Sal Savage authored
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
-
LuK1337 authored
MIUI uses ro.product.vendor.marketname for default device name. Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
-
Tao Bao authored
Change-Id: Iaaaabd13de384a0ebfff9f527fcdd0338c3f99bc
-
FlowerSea0208 authored
Change-Id: I2f8841ea74c9ca0981a7c0a7cfeafe2b27a56d3f
-
FlowerSea0208 authored
Change-Id: I7b3ed2c217c7f84107257eaf0e577dc2c4d7bef7
-
Arian authored
Change-Id: Ib40dd59a0e8e4df6ade54a6a7a7434bfb7a06409
-
Bruno Martins authored
These targets are using prebuilt audio HAL and for some reason, using the source-built liba2dpoffload breaks A2DP. Just use prebuilt HAL extensions to avoid mismatches. Change-Id: I37a5601afdbfdcb81a1053b366fad79fadf4eaa7
-
Sebastiano Barezzi authored
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
-
Giovanni Ricca authored
Change-Id: I3b13a18ed7bc02bd1691318d300c64219a6cf103
-
FlowerSea0208 authored
Change-Id: I373e94cd8212514a1121a259642448a84215135b
-
Raghavendra Rao Ananta authored
Since msm_drm driver is created as a module by default for all the build configurations, it has to explicitly moved to first stage (vendor) ramdisk as the recovery menu needs the driver to display the UI. Hence, package this as a part of vendor ramdisk for QGKI configurations only as GKI doesn't have this requirement. Change-Id: Ic3d5f5a4a1d3b32de7ec4dfe9ef03bf9b8204068
-
FlowerSea0208 authored
Change-Id: I9f9463a1ebdfc37486e9a8c81328a421694bda9c
-
Sebastiano Barezzi authored
Change-Id: Iec2ad2d4d8cb009c2ca9cd5a9f4a991eb0f45ff2
-
FlowerSea0208 authored
Change-Id: I6c52e9cb623e8dcc3eb1262af949cbaeeb8aa565
-
Vince Leung authored
Bug: 183746553 Test: verify default haptic levels set to high on r4 Change-Id: Ie6489be8375ddc01aeb3f227f86e98785232e52a
-
Chenyang Zhong authored
Change-Id: I72ae3bd68f6dd5154fb7f8101e634c78c4f0c3ee
-
TheScarastic authored
* fod radius = miui radius value / 2 * fod x position = miui x position value + (miui radius value / 2) * fod y position = miui y position value + (miui radius value / 2) * fod enroll progress radius = (miui radius value / 2) + 5 Change-Id: I487e3a16fec8a7f9760a100606e7081aec5f7581
-
EcrosoftXiao authored
Change-Id: I3853ae6aada0e97ddf197bb10d7cdbe6499eee1e
-
Arian authored
* AOSP power_profile.xml does not include this prefix Change-Id: I8f84df6d995dde13731d1d11afe43858607830a5
-
Georg Veichtlbauer authored
* screen.on -> screen.on.display0 * screen.full -> screen.full.display0 AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
-
FlowerSea0208 authored
Change-Id: I4ba85c57a26cc70f213a67cfc021a5945b23bfa0
-
Cosmin Tanislav authored
Change-Id: I4f328dbdce50e709f30b1f098e71248d72819268
-
Cosmin Tanislav authored
Change-Id: Ie34138204e9fca868cb6b6892b54439b0c5d7c03
-
Arian authored
Change-Id: Ied8de2941ccc455c7755f50e3843eadde59f1ad8
-
Arian authored
Change-Id: I9e61f6abcbefba66af92b3967df80fc74b084753
-
FlowerSea0208 authored
Change-Id: I057a34e502a26a7a0a73b394d37739e8d45679b8
-
- Apr 15, 2023
-
-
FlowerSea0208 authored
Change-Id: I71f2973e7ded6a250aa8912294c3c2bc7967f4a1
-
FlowerSea0208 authored
Change-Id: Ia0e749f6399df3294d60345115dbc063492b4c29
-
FlowerSea0208 authored
Change-Id: I3248e5c630d5402a2db713b2244b112613b307c1
-
Ethan Chen authored
Change-Id: Id04f464102264b6f2e8d49b39389c7e346613b39
-
FlowerSea0208 authored
Change-Id: I4ecd8b71c5c409ee37a22aa3b69367c1ffb99210
-