Commit Graph

5 Commits

Author SHA1 Message Date
LuK1337
9291711cb7
powershare: Change fallback enable value to 0
Some variants don't support wireless charging, thus this file is
missing. Ideally we wouldn't run powershare at all on them, but this is
still an improvement.

Change-Id: Ie58aaac2a73055d8d2cfe7a73b9b479493eb2bcf
2022-05-13 18:02:35 +02:00
Bruno Martins
7168cbff7f
hidl: powershare: Use pragma once
Change-Id: I9cfeed5e79c35139f7532c522dad0ca25ed35fe1
2022-05-13 18:02:35 +02:00
LuK1337
8a05be348b
powershare: Treat non-zero value as enabled
On SM8350, we use trx_online to determine whether PowerShare is enabled.

Change-Id: I62d7448e6337696867a264cfd521379b53fe61f9
2022-05-13 18:02:35 +02:00
LuK1337
04053365b2
powershare: Make WIRELESS_TX_ENABLE_PATH configurable via Soong flag
Change-Id: I73a42f167c9d332f05e23bd00db19c0a1f9fe672
2022-05-13 18:02:35 +02:00
LuK1337
ac68cfefd7
hidl: Implement vendor.lineage.powershare@1.0 HAL for Xiaomi
* This feature is present in Xiaomi Mi 10/Pro/Ultra and for the Xiaomi
   family of SM8350, LAHAINA devices.

Change-Id: Icabcee87980611d97a837f86a52d94033de337ef
2022-05-13 18:02:35 +02:00