Make Process Stats more beautiful

- update padding layouts for being consistent with the rest of the Settings App

See bug: #15384992 Setting Dashboard - padding updates

Change-Id: I1813eec92a97e4cd9adb4a9c9852c8cd03c38a05
This commit is contained in:
Fabrice Di Meglio
2014-06-18 16:07:45 -07:00
parent 6ebcc36514
commit 0ec4251d12
6 changed files with 104 additions and 71 deletions

View File

@@ -579,7 +579,8 @@ public class ProcessStatsUi extends PreferenceFragment
+ " time=" + percentOfTime);
continue;
}
ProcessStatsPreference pref = new ProcessStatsPreference(getActivity(), null, proc);
ProcessStatsPreference pref = new ProcessStatsPreference(getActivity());
pref.init(null, proc);
proc.evaluateTargetPackage(pm, mStats, totals, sEntryCompare, mUseUss,
mStatsType == MENU_TYPE_BACKGROUND);
proc.retrieveUiData(pm);