Add a mechanism to configure whether the summary should be set or not

Add a mechanism to customize whether the summary information in the
battery entry should be set or not. We can consider is as the extension
for the ag/18062824.

Bug: 220717612
Test: make RunSettingsRoboTests -j56 ROBOTEST_FILTER="com.android.settings.fuelgauge"
Change-Id: I3c21148d288f29ce65378f59f9086dab90c14a7b
This commit is contained in:
ykhung
2022-05-04 11:42:26 +08:00
parent 55d722c2b0
commit 3d1b6fd065
3 changed files with 22 additions and 3 deletions

View File

@@ -1646,4 +1646,8 @@
<item>1875000</item> <!-- 15Mbps == 1875000/s -->
</string-array>
<!-- An allowlist which packages won't show summary in battery usage screen.
[CHAR LIMIT=NONE] -->
<string-array name="allowlist_hide_summary_in_battery_usage" translatable="false">
</string-array>
</resources>