OSDN Git Service

Fix some things in settings: manage apps, battery, procstats
authorDianne Hackborn <hackbod@google.com>
Fri, 12 Sep 2014 01:09:29 +0000 (18:09 -0700)
committerDianne Hackborn <hackbod@google.com>
Fri, 12 Sep 2014 01:09:29 +0000 (18:09 -0700)
commitc891ce6565fbeba8414c470b109088ac959f7143
tree2aeca63df3d95ffdcb3cf7f9a93ed8389fc4d6ba
parent574db4269528c7277f6e14a44156909fdb063190
Fix some things in settings: manage apps, battery, procstats

Issue #17461567: java.lang.ArithmeticException: divide by zero when
looking at Settings > Battery

Yeah, let's not do that.

Issue #17365562: Running services RAM totals are wrong

Okay so like a few months ago, I had this vacation coming up, and
it was around the feature complete (hahah) deadline, and I had to
rush to get this in before I left.  So I rushed.  And, well, I forgot
a few things.  Here they are.  We now show the right numbers and
even update things correctly when you change what processes are
being shown.  Wow.

Finally, fixed a few issues in the dev tools procstats UI.

Change-Id: I8348a9c2ec3226a455c5c8465729e4487f324c8b
src/com/android/settings/applications/ProcessStatsUi.java
src/com/android/settings/applications/RunningProcessesView.java
src/com/android/settings/fuelgauge/BatteryHistoryChart.java