Remove the legacy EarlyWarning tip mechanism to improve performance

Fix: 263835342
Test: presubmit
Change-Id: I0c3f61a21874c70b49cdeb73bbdc285ef8c4a35f
This commit is contained in:
ykhung
2022-12-28 11:45:01 +08:00
parent b875752307
commit 4a470d87dc
6 changed files with 0 additions and 192 deletions

View File

@@ -91,15 +91,6 @@ public interface PowerUsageFeatureProvider {
*/
String getOldEstimateDebugString(String timeRemaining);
/**
* Returns a signal to indicate if the device will need to warn the user they may not make it
* to their next charging time.
*
* @param id Optional string used to identify the caller for metrics. Usually the class name of
* the caller
*/
boolean getEarlyWarningSignal(Context context, String id);
/**
* Checks whether smart battery feature is supported in this device
*/