Skip to content

前台悬浮窗 这个开关是什么意思啊 #530

Closed Answered by lisonge
shuohao asked this question in Q&A
Discussion options

You must be logged in to vote

因为它是透明的,本质是告诉系统我占着前台,提高运行优先级

在我的手机上如果关闭的话会导致响应变慢

此外我在最开始开发的时候,如果没有开启通知栏和透明悬浮窗,仅开启无障碍服务

此时当应用处于后台时,在无障碍服务里启动的子线程或协程不被系统执行

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shuohao
Comment options

Answer selected by shuohao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants