diff options
| author | 2023-07-24 11:24:58 -0400 | |
|---|---|---|
| committer | 2023-07-24 11:40:22 -0400 | |
| commit | fb620579f7d8e817600c41e88a1cf7a1184cb7aa (patch) | |
| tree | 029da448f39c0ec0caa87a0012f40928fd74baa5 | |
| parent | 2dc4aac2aa6323d3aceb3357f4b9036dbea4bf4b (diff) | |
Ensure buffers are parsed by using standard divider
This also adds back the colon that caused b/292275180
Test: adb bugreport -> ABT
Bug: 292221335
Change-Id: I823efa1b0ef751725a35053ea54b4dd04e801de9
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/dump/DumpHandler.kt | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/dump/DumpHandler.kt b/packages/SystemUI/src/com/android/systemui/dump/DumpHandler.kt index 2a7b687118c5..6ebd351fff04 100644 --- a/packages/SystemUI/src/com/android/systemui/dump/DumpHandler.kt +++ b/packages/SystemUI/src/com/android/systemui/dump/DumpHandler.kt @@ -382,13 +382,6 @@ constructor( const val DUMPSYS_DUMPABLE_DIVIDER = "----------------------------------------------------------------------------" - /** - * Important: do not change this divider without updating any bug report processing tools - * (e.g. ABT), since this divider is used to determine boundaries for bug report views - */ - const val DUMPSYS_BUFFER_DIVIDER = - "============================================================================" - private fun findBestTargetMatch(c: Collection<DumpsysEntry>, target: String) = c.asSequence().filter { it.name.endsWith(target) }.minByOrNull { it.name.length } @@ -409,14 +402,14 @@ constructor( is DumpableEntry, is TableLogBufferEntry -> { println() - println(entry.name) + println("${entry.name}:") println(DUMPSYS_DUMPABLE_DIVIDER) } is LogBufferEntry -> { println() println() println("BUFFER ${entry.name}:") - println(DUMPSYS_BUFFER_DIVIDER) + println(DUMPSYS_DUMPABLE_DIVIDER) } } |