Fix issue #4021524 HMI63B: "Force stop" button not disabled after app is stopped
There should probably be a broadcast from PM about this. Later. Change-Id: I713197ed458f8f6a914efb3800cd1b192f741613
This commit is contained in:
@@ -736,6 +736,11 @@ public class InstalledAppDetails extends Fragment
|
||||
ActivityManager am = (ActivityManager)getActivity().getSystemService(
|
||||
Context.ACTIVITY_SERVICE);
|
||||
am.forceStopPackage(pkgName);
|
||||
mState.invalidatePackage(pkgName);
|
||||
ApplicationsState.AppEntry newEnt = mState.getEntry(pkgName);
|
||||
if (newEnt != null) {
|
||||
mAppEntry = newEnt;
|
||||
}
|
||||
checkForceStop();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user