File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed
java/com/didichuxing/doraemonkit/kit/core Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 35
35
36
36
<activity
37
37
android : name =" .MainDoKitActivity"
38
- android : theme =" @style/NoTitleTheme" >
38
+ android : theme =" @style/NoTitleTheme"
39
+ android : exported =" true" >
39
40
<intent-filter >
40
41
<action android : name =" android.intent.action.MAIN" />
41
42
76
77
android : name =" com.baidu.location.f"
77
78
android : enabled =" true"
78
79
android : process =" :remote" />
79
- <!-- Dokit targetApi为 29 Android Q时截屏的前台服务 -->
80
- <service
81
- android : name =" com.didichuxing.doraemonkit.kit.colorpick.ScreenRecorderService"
82
- android : enabled =" true"
83
- android : foregroundServiceType =" mediaProjection"
84
- tools : targetApi =" q" />
85
80
81
+ <!-- Dokit targetApi为 29 Android Q时截屏的前台服务 -->
86
82
<service
87
83
android : name =" .test.ScreenRecordingService"
88
84
android : enabled =" true"
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ ext {
13
13
// 是否使用本地仓库,需要使用绝对路径,仓库地址在 local.properties 中添加 LOCAL_REPOSITORY_URL
14
14
use_local : true ,
15
15
group_id : ' io.github.didi.dokit' ,
16
- version : ' 3.7.1 '
16
+ version : ' 3.7.2 '
17
17
]
18
18
19
19
android = [compileSdkVersion : 29 ,
20
20
applicationId : " com.didichuxing.doraemondemo" ,
21
21
minSdkVersion_16 : 16 ,
22
22
minSdkVersion_21 : 21 ,
23
- targetSdkVersion : 30 ,
23
+ targetSdkVersion : 31 ,
24
24
// app版本号
25
25
versionCode : 1 ,
26
26
versionName : " 1.0.0" ,
31
31
kotlinx_coroutines_version_v13 : " 1.3.7" ,
32
32
kotlinx_coroutines_version_v14 : " 1.4.3" ,
33
33
booster_version : " 4.0.0" ,
34
- agp_module_verson : " 4.2.2 " ,
34
+ agp_module_verson : " 7.0.0 " ,
35
35
agp_plugin_verson : " 4.2.2" ,
36
36
ktor : " 1.5.4" ,
37
37
okhttp_v2 : " 2.7.5" ,
Original file line number Diff line number Diff line change 64
64
android : resource =" @xml/dokit_debug_provider_paths" />
65
65
</provider >
66
66
67
+ <!-- Dokit targetApi为 29 Android Q时截屏的前台服务 -->
68
+ <service
69
+ android : name =" com.didichuxing.doraemonkit.kit.colorpick.ScreenRecorderService"
70
+ android : enabled =" true"
71
+ android : foregroundServiceType =" mediaProjection" />
72
+
67
73
<!-- <service-->
68
74
<!-- android:name=".kit.viewcheck.DebugAccessibilityService"-->
69
75
<!-- android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">-->
Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ internal class NormalDoKitViewManager : AbsDoKitViewManager() {
326
326
// 操作DecorRootView
327
327
doKitView.dealDecorRootView(getDoKitRootContentView(doKitIntent.activity))
328
328
}, MC_DELAY .toLong())
329
- DokitViewManager .INSTANCE .notifyDokitViewAdd(doKitView)
329
+ // DoKitViewManager .INSTANCE.notifyDokitViewAdd(doKitView)
330
330
}
331
331
currentActivityDoKitViews[doKitView.tag] = doKitView
332
332
} catch (e: Exception ) {
You can’t perform that action at this time.
0 commit comments