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