diff --git a/frameworks/base/services/java/com/android/server/am/ActivityManagerService.java b/frameworks/base/services/java/com/android/server/am/ActivityManagerService.java
index f33ee52..d6dfde5 100755
--- a/frameworks/base/services/java/com/android/server/am/ActivityManagerService.java
+++ b/frameworks/base/services/java/com/android/server/am/ActivityManagerService.java
@@ -1139,7 +1139,12 @@ public final class ActivityManagerService extends ActivityManagerNative
}
return;
}
- if (mShowDialogs && !mSleeping && !mShuttingDown) {
+
+ if (res != null) {
+ res.set(0);
+ }
+ //delete by cxs
+ /*if (mShowDialogs && !mSleeping && !mShuttingDown) {
Dialog d = new AppErrorDialog(mContext,
ActivityManagerService.this, res, proc);
d.show();
@@ -1150,7 +1155,7 @@ public final class ActivityManagerService extends ActivityManagerNative
if (res != null) {
res.set(0);
}
- }
+ }*/
}
ensureBootCompleted();
@@ -1173,7 +1178,9 @@ public final class ActivityManagerService extends ActivityManagerNative
null, null, 0, null, null, null, AppOpsManager.OP_NONE,
false, false, MY_PID, Process.SYSTEM_UID, 0 /* TODO: Verify */);
- if (mShowDialogs) {
+ killAppAtUsersRequest(proc, null);
+ //delete by cxs
+ /* if (mShowDialogs) {
Dialog d = new AppNotRespondingDialog(ActivityManagerService.this,
mContext, proc, (ActivityRecord)data.get("activity"),
msg.arg1 != 0);
@@ -1182,7 +1189,7 @@ public final class ActivityManagerService extends ActivityManagerNative
} else {
// Just kill the app if there is no dialog to be shown.
killAppAtUsersRequest(proc, null);
- }
+ }*/
}
ensureBootCompleted();