Merge profiles apps into app list
Remove the spinner and add all apps into one list and badge the managed items. Bug: 19443900 Change-Id: I9ccacc1b503da2663b9a3945f4fd6051ae95e328
This commit is contained in:
@@ -482,8 +482,9 @@ public class InstalledAppDetails extends AppInfoBase
|
||||
ActivityManager am = (ActivityManager)getActivity().getSystemService(
|
||||
Context.ACTIVITY_SERVICE);
|
||||
am.forceStopPackage(pkgName);
|
||||
mState.invalidatePackage(pkgName);
|
||||
ApplicationsState.AppEntry newEnt = mState.getEntry(pkgName);
|
||||
int userId = UserHandle.getUserId(mAppEntry.info.uid);
|
||||
mState.invalidatePackage(pkgName, userId);
|
||||
ApplicationsState.AppEntry newEnt = mState.getEntry(pkgName, userId);
|
||||
if (newEnt != null) {
|
||||
mAppEntry = newEnt;
|
||||
}
|
||||
|
Reference in New Issue
Block a user