File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
koom-thread-leak/src/main/java/com/kwai/performance/overhead/thread/monitor Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
buildscript {
2
2
ext. versions = [
3
- ' compileSdkVersion' : 31 ,
3
+ ' compileSdkVersion' : 34 ,
4
4
' buildToolsVersion' : ' 31.0.0' ,
5
5
' minSdkVersion' : 18 ,
6
6
' targetSdkVersion' : 26 ,
Original file line number Diff line number Diff line change @@ -66,9 +66,8 @@ object ThreadMonitor : LoopMonitor<ThreadMonitorConfig>() {
66
66
}
67
67
68
68
private fun handleNativeInit (): Boolean {
69
- if (Build .VERSION .SDK_INT <= Build .VERSION_CODES .O || Build .VERSION .SDK_INT > Build
70
- .VERSION_CODES .R ) {
71
- monitorConfig.listener?.onError(" not support P below or R above now!" )
69
+ if (Build .VERSION .SDK_INT <= Build .VERSION_CODES .O || Build .VERSION .SDK_INT > Build .VERSION_CODES .UPSIDE_DOWN_CAKE ) {
70
+ monitorConfig.listener?.onError(" not support P below or UPSIDE_DOWN_CAKE above now!" )
72
71
return false
73
72
}
74
73
if (! isArm64()) {
You can’t perform that action at this time.
0 commit comments