Merge "Add dump log for BatteryTip." into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-07 18:53:09 +00:00
committed by Android (Google) Code Review
7 changed files with 64 additions and 10 deletions

View File

@@ -68,6 +68,12 @@ public class AppInfo implements Comparable<AppInfo>, Parcelable {
dest.writeInt(uid);
}
@Override
public String toString() {
return "packageName=" + packageName + ",anomalyType=" + anomalyType + ",screenTime="
+ screenOnTimeMs;
}
public static final Parcelable.Creator CREATOR = new Parcelable.Creator() {
public AppInfo createFromParcel(Parcel in) {
return new AppInfo(in);