Convert install app detail to dashboard fragment.
- first round for changing AppInfoDashboardFragment to inherits from DashboardFragment instead. - add controller for Battery, DataUsage, Memory, Notification, Storage, Permission, Version, and Open by Default settings. Bug: 69384089 Test: make RunSettingsRoboTests Change-Id: I60079e5442b4eef46a178e27de96a8635e15ebde
This commit is contained in:
@@ -175,4 +175,17 @@ public class ProcStatsPackageEntry implements Parcelable {
|
||||
Utils.formatPercentage((int) (amount * 100)));
|
||||
}
|
||||
}
|
||||
|
||||
public double getRunWeight() {
|
||||
return mRunWeight;
|
||||
}
|
||||
|
||||
public double getBgWeight() {
|
||||
return mBgWeight;
|
||||
}
|
||||
|
||||
public ArrayList<ProcStatsEntry> getEntries() {
|
||||
return mEntries;
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user