Commit 8acd321
committed
Catch and log exceptions when enabling tracing.
Due to an android gradle bug calls to forceEnableAppTracing() may
fail with NoSuchMethodError at runtime.
Instead of crashing, just catch and log this exception.1 parent 9d69c8e commit 8acd321
File tree
2 files changed
+8
-0
lines changed- runner/monitor
- java/androidx/test/platform/tracing
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
62 | 68 | | |
63 | 69 | | |
64 | 70 | | |
| |||
0 commit comments