Merge "Improve error reporting for issue #3183612" into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
7c2e76f0a4
@ -139,7 +139,8 @@ public class Looper {
|
||||
Log.wtf("Looper", "Thread identity changed from 0x"
|
||||
+ Long.toHexString(ident) + " to 0x"
|
||||
+ Long.toHexString(newIdent) + " while dispatching to "
|
||||
+ msg.target + " " + msg.callback + " what=" + msg.what);
|
||||
+ msg.target.getClass().getName() + " "
|
||||
+ msg.callback + " what=" + msg.what);
|
||||
}
|
||||
|
||||
msg.recycle();
|
||||
|
@ -6667,8 +6667,9 @@ public final class ActivityManagerService extends ActivityManagerNative
|
||||
|
||||
addErrorToDropBox("wtf", r, null, null, tag, null, null, crashInfo);
|
||||
|
||||
if (Settings.Secure.getInt(mContext.getContentResolver(),
|
||||
Settings.Secure.WTF_IS_FATAL, 0) != 0) {
|
||||
if (r != null && r.pid != Process.myPid() &&
|
||||
Settings.Secure.getInt(mContext.getContentResolver(),
|
||||
Settings.Secure.WTF_IS_FATAL, 0) != 0) {
|
||||
crashApplication(r, crashInfo);
|
||||
return true;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user