Android Permission

ROM

Posted by LXG on November 9, 2018

Android Permission

AOSP安全指南

官网应用安全最佳实践

源码权限定义

官网权限定义

GID权限定义

GID和权限对应关系

android.permission.INJECT_EVENTS

    <!-- @SystemApi Allows an application to inject user events (keys, touch, trackball)<br>
         into the event stream and deliver them to ANY window.  Without this<br>
         permission, you can only deliver events to windows in your own process.<br>
         <p>Not for use by third-party applications.<br>
         @hide
    -->
    <permission android:name="android.permission.INJECT_EVENTS"
        android:protectionLevel="signature" />