Hide Camera background running time in the battery usage screen
hide camera background running time in the battery usage screen to avoid users confuse about it, since it will standby in the backgound to sspeed up launching time, not always running in the background Bug: 196744910 Test: make SettingsRoboTests Change-Id: Ia391d661bca44435fc5a68b1c86e5ca32dd0fcfe
This commit is contained in:
@@ -24,6 +24,7 @@ import android.util.SparseIntArray;
|
||||
import com.android.internal.os.BatterySipper;
|
||||
import com.android.settingslib.fuelgauge.Estimate;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
@@ -147,4 +148,9 @@ public interface PowerUsageFeatureProvider {
|
||||
* Returns {@link Uri} to monitor battery history data is update.
|
||||
*/
|
||||
Uri getBatteryHistoryUri();
|
||||
|
||||
/**
|
||||
* Returns {@link List} for hidding applications background usage time.
|
||||
*/
|
||||
List<CharSequence> getHideBackgroundUsageTimeList(Context context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user