Don't have app info pages load so much info

They don't need to resume the ApplicationsState session because they
only need info for one app, instead just make sure ApplicationsState
can load the info as requested.

Bug: 20696893
Change-Id: I146387438348fad1396ac4528819b2f1a93a97bf
This commit is contained in:
Jason Monk
2015-05-26 15:56:05 -04:00
parent 85a72a9088
commit 646befdd16
3 changed files with 22 additions and 26 deletions

View File

@@ -251,6 +251,7 @@ public class InstalledAppDetails extends AppInfoBase
if (mFinishing) {
return;
}
mState.requestSize(mPackageName, mUserId);
AppItem app = new AppItem(mAppEntry.info.uid);
app.addUid(mAppEntry.info.uid);
if (mStatsSession != null) {