OSDN Git Service

Update FakeUid to implement new method defined in BatteryStats.Uid
authorAdam Lesinski <adamlesinski@google.com>
Sat, 27 Jun 2015 01:05:37 +0000 (18:05 -0700)
committerAdam Lesinski <adamlesinski@google.com>
Tue, 30 Jun 2015 23:58:08 +0000 (16:58 -0700)
Bug:21498425
Change-Id: I956c04d13daf985d472cc7ff2762ad74d5bb9502

src/com/android/settings/fuelgauge/FakeUid.java

index aea3374..aaa30a2 100644 (file)
@@ -249,4 +249,9 @@ public class FakeUid extends Uid {
     public long getTimeAtCpuSpeed(int step, int which) {
         return 0;
     }
+
+    @Override
+    public long getCpuPowerMaUs(int which) {
+        return 0;
+    }
 }