Support phonetype control for Settings Battery database retention time

Bug: 404740486
Fix: 404740486
Test: atest
Flag: EXEMPT bug fix
Change-Id: Ifc9032e19a5b26e307d1426ea5c07de84e1613f4
This commit is contained in:
Zaiyue Xue
2025-03-19 17:49:16 +08:00
parent 339367886d
commit 08a3aa7f33
4 changed files with 20 additions and 4 deletions

View File

@@ -64,6 +64,9 @@ public interface PowerUsageFeatureProvider {
/** Returns an allowlist of app names combined into the system-apps item */
List<String> getSystemAppsAllowlist();
/** Returns the data retention days in the database */
int getDataRetentionDays();
/** Check whether location setting is enabled */
boolean isLocationSettingEnabled(String[] packages);