summaryrefslogtreecommitdiff
path: root/logcat/resources
diff options
context:
space:
mode:
authorAlon Albert <aalbert@google.com>2021-10-13 15:48:16 -0700
committerTreeHugger Robot <treehugger-gerrit@google.com>2021-10-14 21:34:00 +0000
commitf85f5f115eff3308d0942d5ac2b2d8078fc68a36 (patch)
treefe4b638dcca16bbad68f4986803d53cf76c23267 /logcat/resources
parent95c0d2b5e31fe88eb3ddba3ac155c900ff8f02cd (diff)
downloadidea-f85f5f115eff3308d0942d5ac2b2d8078fc68a36.tar.gz
Fork StackTraceExpander & ExceptionFolding
When Logcat V1 goes away, we will still need these files. Convert them to Kotlin refactor to handle the entire batch of lines instead of one line at a time. We can do this because we have access to an entire LogCatMessage that contains all the lines in the stack trace. This makes us not need to keep a state, so we can convert the class into an object. We also need to disable the Logcat V1 ExceptionFolding extension if not applied to a Logcat ConsoleView, so we don't double process. Bug: 191880898 Test: Added Change-Id: I0108a8cc1fa9693a1b867062bcc5dd47c180a7f6
Diffstat (limited to 'logcat/resources')
-rw-r--r--logcat/resources/messages/LogcatBundle.properties2
1 files changed, 2 insertions, 0 deletions
diff --git a/logcat/resources/messages/LogcatBundle.properties b/logcat/resources/messages/LogcatBundle.properties
index d007a6bc0a0..a70b69711be 100644
--- a/logcat/resources/messages/LogcatBundle.properties
+++ b/logcat/resources/messages/LogcatBundle.properties
@@ -15,3 +15,5 @@ logcat.scroll.to.end.text=Scroll to the end. Clicking on a particular line stops
logcat.clear.log.title=Clear Logcat
logcat.clear.log.description=Clears Logcat buffer on the device and the log console.
+
+logcat.stacktrace.folding.hint= <{0} more...>