Ani*_*kur 3 permissions android
我们如何找到特定权限所需的Android防护级别.
让我们说android.permission.SET_ACTIVITY_WATCHER(docs)
它属于什么保护级别?(docs)
你可以在这里找到一些权限:
https://github.com/android/platform_frameworks_base/blob/master/core/res/AndroidManifest.xml
另一个解决方案是以下代码示例:
getPackageManager().getPermissionInfo(name, 0).protectionLevel
Run Code Online (Sandbox Code Playgroud)
在你的情况下这是这个信息:
<!-- Allows an application to watch and control how activities are
started globally in the system. Only for is in debugging
(usually the monkey command).
<p>Not for use by third-party applications. -->
<permission android:name="android.permission.SET_ACTIVITY_WATCHER"
android:label="@string/permlab_runSetActivityWatcher"
android:description="@string/permdesc_runSetActivityWatcher"
android:protectionLevel="signature" />
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
14354 次 |
| 最近记录: |