Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a20a99d authored by Dmitri Plotnikov's avatar Dmitri Plotnikov Committed by Automerger Merge Worker
Browse files

Merge "Deprecate BatteryStatsHelper and BatterySipper" into sc-dev am: fb1dc9e3

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15081293

Change-Id: Idd5114a27bf3c84238ef9c9c6b56ce67b65efc24
parents 56d012cf fb1dc9e3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -23,7 +23,10 @@ import java.util.List;

/**
 * Contains power usage of an application, system service, or hardware type.
 *
 * @deprecated Please use BatteryStatsManager.getBatteryUsageStats instead.
 */
@Deprecated
public class BatterySipper implements Comparable<BatterySipper> {
    @UnsupportedAppUsage
    public int userId;
+3 −0
Original line number Diff line number Diff line
@@ -59,7 +59,10 @@ import java.util.List;
 *
 * The caller must initialize this class as soon as activity object is ready to use (for example, in
 * onAttach() for Fragment), call create() in onCreate() and call destroy() in onDestroy().
 *
 * @deprecated Please use BatteryStatsManager.getBatteryUsageStats instead.
 */
@Deprecated
public class BatteryStatsHelper {
    static final boolean DEBUG = false;