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:
Doris Ling
2017-11-22 17:01:25 -08:00
parent 90c374fd7d
commit 6eb8877848
28 changed files with 2806 additions and 455 deletions

View File

@@ -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;
}
}