OSDN Git Service

Fix issue #11033002: Percentages in proc stats details are not rounded correctly
authorDianne Hackborn <hackbod@google.com>
Wed, 9 Oct 2013 19:06:59 +0000 (12:06 -0700)
committerDianne Hackborn <hackbod@google.com>
Wed, 9 Oct 2013 19:06:59 +0000 (12:06 -0700)
commit020999103b34860a89576cd5dba862009337e9a9
tree593fc823f3e48e075efc488e498a188ce2610b13
parent8a4c53ac2bbd2eca81a8725212d4d61672fbfdef
Fix issue #11033002: Percentages in proc stats details are not rounded correctly

Use round instead of ceil.  Also, when showing services from multiple packages,
sort the package categories by the duration of the longest running service in
each, so that the more important ones come first.

Change-Id: I42b47b0522cd786a1c4ee5b59a549ec7c0c6ffe1
src/com/android/settings/applications/ProcessStatsDetail.java