Merge "More work on procstats: save/restore state, fixes."

This commit is contained in:
Dianne Hackborn
2013-06-29 02:14:10 +00:00
committed by Android (Google) Code Review
6 changed files with 903 additions and 356 deletions

View File

@@ -2205,6 +2205,8 @@ public class ActivityManager {
pw.println();
dumpService(pw, fd, "procstats", new String[] { packageName });
pw.println();
dumpService(pw, fd, "usagestats", new String[] { "--packages", packageName });
pw.println();
dumpService(pw, fd, "package", new String[] { packageName });
pw.println();
dumpService(pw, fd, BatteryStats.SERVICE_NAME, new String[] { packageName });

View File

@@ -613,7 +613,6 @@ public final class BatteryStatsImpl extends BatteryStats {
* Constructs from a parcel.
* @param type
* @param unpluggables
* @param powerType
* @param in
*/
Timer(int type, ArrayList<Unpluggable> unpluggables, Parcel in) {