Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -577,7 +577,11 @@ public class PhoneWindowManager implements WindowManagerPolicy { && appInfo.importance == RunningAppProcessInfo.IMPORTANCE_FOREGROUND) { // Kill the entire pid Toast.makeText(mContext, R.string.app_killed_message, Toast.LENGTH_SHORT).show(); if (appInfo.pkgList!=null && (apps.size() > 0)){ mgr.forceStopPackage(appInfo.pkgList[0]); }else{ Process.killProcess(appInfo.pid); } break; } } Loading Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +5 −1 Original line number Diff line number Diff line Loading @@ -577,7 +577,11 @@ public class PhoneWindowManager implements WindowManagerPolicy { && appInfo.importance == RunningAppProcessInfo.IMPORTANCE_FOREGROUND) { // Kill the entire pid Toast.makeText(mContext, R.string.app_killed_message, Toast.LENGTH_SHORT).show(); if (appInfo.pkgList!=null && (apps.size() > 0)){ mgr.forceStopPackage(appInfo.pkgList[0]); }else{ Process.killProcess(appInfo.pid); } break; } } Loading