1

我想在我的应用中启用 android.permissions.STATUS_BAR。鉴于我的目标可能是无根手机,是否可以这样做?

4

1 回答 1

1

据我了解,android.persmissions.STATUS_BAR是系统权限,不能使用。

在android术语中,它属于signatureOrSystem许可。意思是(取自Android Manifest DOCS)...

A permission that the system grants only to applications that are in the Android system image or that are signed with the same certificate as the application that declared the permission. Please avoid using this option, as the signature protection level should be sufficient for most needs and works regardless of exactly where applications are installed. The "signatureOrSystem" permission is used for certain special situations where multiple vendors have applications built into a system image and need to share specific features explicitly because they are being built together.

也请查看以下链接。他们可能会帮助您找到解决方法...

如何在android中禁用状态栏
为什么这些权限被拒绝?
防止状态栏扩展

于 2013-07-12T05:56:50.437 回答