tombstoned: fix file creation for ANRs.
Bug: http://b/188315622 Test: manual Change-Id: I2948b929beb3093b59c8d37b706c857e7422a3cc
This commit is contained in:
parent
e23e85bee5
commit
931274862f
|
@ -165,8 +165,7 @@ class CrashQueue {
|
||||||
|
|
||||||
switch (dump_type) {
|
switch (dump_type) {
|
||||||
case kDebuggerdNativeBacktrace:
|
case kDebuggerdNativeBacktrace:
|
||||||
case kDebuggerdJavaBacktrace:
|
// Don't generate tombstones for native backtrace requests.
|
||||||
// Don't generate tombstones for backtrace requests.
|
|
||||||
return {};
|
return {};
|
||||||
|
|
||||||
case kDebuggerdTombstoneProto:
|
case kDebuggerdTombstoneProto:
|
||||||
|
@ -178,6 +177,7 @@ class CrashQueue {
|
||||||
result.text = create_temporary_file();
|
result.text = create_temporary_file();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case kDebuggerdJavaBacktrace:
|
||||||
case kDebuggerdTombstone:
|
case kDebuggerdTombstone:
|
||||||
result.text = create_temporary_file();
|
result.text = create_temporary_file();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue