Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道如何检查是否从设置中启用了屏幕固定/固定窗口选项?如果有人知道如何以编程方式做到这一点,请告诉我。对不起,我的英语不好,谢谢
我真的没有这个问题的答案,但我发现startLockTask即使设置/安全中的屏幕固定开关关闭,应用程序也可以使用方法固定自己。用户可以选择退出系统提供的对话框,所以如果这就是你考虑这个设置的原因,就像我一样,没有什么可担心的。
startLockTask