Add device build information in the backup stage
Insert the device build information in the battery optimization mode backup stage, such that we can use it to decide whether we should restore the data in the targeted device or not Bug: 192523697 Test: make test RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.fuelgauge.* Change-Id: I3ab76e013ea9aca4d336a62e0c7cb6882c5b5085
This commit is contained in:
@@ -166,4 +166,14 @@ public interface PowerUsageFeatureProvider {
|
||||
* Returns {@link Set} for ignoring task root class names for screen on time
|
||||
*/
|
||||
Set<String> getIgnoreScreenOnTimeTaskRootSet();
|
||||
|
||||
/**
|
||||
* Returns the customized device build information for data backup
|
||||
*/
|
||||
String getBuildMetadata1(Context context);
|
||||
|
||||
/**
|
||||
* Returns the customized device build information for data backup
|
||||
*/
|
||||
String getBuildMetadata2(Context context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user