Merge commit '424991704b5fb7a64f6cf0fcc3f4b1aabbf2a2e0' into gingerbread-plus-aosp * commit '424991704b5fb7a64f6cf0fcc3f4b1aabbf2a2e0': Implement issue #3094621 and #3094609 - wipe sd card
This commit is contained in:
@@ -7063,6 +7063,9 @@ public final class ActivityManagerService extends ActivityManagerNative
|
||||
if (mHeavyWeightProcess == app) {
|
||||
currApp.flags |= ActivityManager.RunningAppProcessInfo.FLAG_CANT_SAVE_STATE;
|
||||
}
|
||||
if (app.persistent) {
|
||||
currApp.flags |= ActivityManager.RunningAppProcessInfo.FLAG_PERSISTENT;
|
||||
}
|
||||
int adj = app.curAdj;
|
||||
if (adj >= EMPTY_APP_ADJ) {
|
||||
currApp.importance = ActivityManager.RunningAppProcessInfo.IMPORTANCE_EMPTY;
|
||||
|
||||
Reference in New Issue
Block a user