Loading services/core/java/com/android/server/am/ActivityManagerService.java +19 −2 Original line number Original line Diff line number Diff line Loading @@ -3933,11 +3933,28 @@ public class ActivityManagerService extends IActivityManager.Stub + packageName + ": " + e); + packageName + ": " + e); } } if (mUserController.isUserRunning(user, userRunningFlags)) { if (mUserController.isUserRunning(user, userRunningFlags)) { String description; if (reason == null) { description = "from pid " + callingPid; // Add the name of the process if it's available final ProcessRecord callerApp; synchronized (mPidsSelfLocked) { callerApp = mPidsSelfLocked.get(callingPid); } if (callerApp != null) { description += " (" + callerApp.processName + ")"; } } else { description = reason; } forceStopPackageLocked(packageName, UserHandle.getAppId(pkgUid), forceStopPackageLocked(packageName, UserHandle.getAppId(pkgUid), false /* callerWillRestart */, false /* purgeCache */, false /* callerWillRestart */, false /* purgeCache */, true /* doIt */, false /* evenPersistent */, true /* doIt */, false /* evenPersistent */, false /* uninstalling */, true /* packageStateStopped */, user, false /* uninstalling */, true /* packageStateStopped */, reason == null ? ("from pid " + callingPid) : reason); user, description); finishForceStopPackageLocked(packageName, pkgUid); finishForceStopPackageLocked(packageName, pkgUid); } } } } Loading Loading
services/core/java/com/android/server/am/ActivityManagerService.java +19 −2 Original line number Original line Diff line number Diff line Loading @@ -3933,11 +3933,28 @@ public class ActivityManagerService extends IActivityManager.Stub + packageName + ": " + e); + packageName + ": " + e); } } if (mUserController.isUserRunning(user, userRunningFlags)) { if (mUserController.isUserRunning(user, userRunningFlags)) { String description; if (reason == null) { description = "from pid " + callingPid; // Add the name of the process if it's available final ProcessRecord callerApp; synchronized (mPidsSelfLocked) { callerApp = mPidsSelfLocked.get(callingPid); } if (callerApp != null) { description += " (" + callerApp.processName + ")"; } } else { description = reason; } forceStopPackageLocked(packageName, UserHandle.getAppId(pkgUid), forceStopPackageLocked(packageName, UserHandle.getAppId(pkgUid), false /* callerWillRestart */, false /* purgeCache */, false /* callerWillRestart */, false /* purgeCache */, true /* doIt */, false /* evenPersistent */, true /* doIt */, false /* evenPersistent */, false /* uninstalling */, true /* packageStateStopped */, user, false /* uninstalling */, true /* packageStateStopped */, reason == null ? ("from pid " + callingPid) : reason); user, description); finishForceStopPackageLocked(packageName, pkgUid); finishForceStopPackageLocked(packageName, pkgUid); } } } } Loading