Merge "When finishing a heavy weight process, finish the activities in it."
This commit is contained in:
committed by
Android (Google) Code Review
commit
48097512ca
@@ -5864,6 +5864,9 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
|
||||
@Override
|
||||
public void finishHeavyWeightApp() {
|
||||
synchronized (mGlobalLock) {
|
||||
if (mHeavyWeightProcess != null) {
|
||||
mHeavyWeightProcess.finishActivities();
|
||||
}
|
||||
ActivityTaskManagerService.this.clearHeavyWeightProcessIfEquals(
|
||||
mHeavyWeightProcess);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user