Sfoglia il codice sorgente

powerstats: remove support of bluetooth data provider

This device uses QC solution on Bluetooth Remove support of
Bluetooth state residency data provider from PowerStatsHAL
on this device.

Bug: 231395549
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I1248e2cd74cbeac4f0f9cf727e8bdee9a925fa05
Signed-off-by: Darren Hsu <[email protected]>
Darren Hsu 2 anni fa
parent
commit
5345021276
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      powerstats/service.cpp

+ 1 - 1
powerstats/service.cpp

@@ -61,7 +61,7 @@ int main() {
 
     std::shared_ptr<PowerStats> p = ndk::SharedRefBase::make<PowerStats>();
 
-    addGs201CommonDataProviders(p);
+    addGs201CommonDataProvidersQc(p);
     addDisplay(p);
     addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats");