Skip to content

Commit 0d99a6e

Browse files
authored
Update README.md
1 parent e455ec1 commit 0d99a6e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pluto-plugins/plugins/exceptions/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ PlutoExceptions.setANRHandler { thread, exception ->
3838
Log.d("anr_demo", "potential ANR detected on thread: " + thread.name, exception)
3939
}
4040
```
41+
42+
You can also modify the Main thread response time, after which the above callback will be triggered.
43+
```kotlin
44+
PlutoExceptions.mainThreadResponseThreshold = 10_000
45+
```
4146
<br>
4247

4348
🎉 &nbsp;You are all done!

0 commit comments

Comments
 (0)