Permission ratings? The Android system contains general permissions and URI permissions. Traditional Android permissions are classified according to the severity of normal , dangerous, signature and Signatureorsystem. Each of these permissions is assigned to a third-party program based on the signature or whether the system applies. URI permissions are used to temporarily assign permissions to direct users to handle specific sensitive data. If the e-mail program needs a picture browser to view the picture, and the user's email is User privacy, can not use the traditional way to directly assign permissions, just want to let the picture browser only temporarily read a specific image. How are permissions added and validated? Android permissions are declared in two ways, the first of which is the use of the permission declaration in the application Androidmanifest.xml, and Packagemanagerservice is added to the permission tree when the application is installed. The other is the way the system is provisioned, and Packagemanagerservice will read the XML files in the/etc/permission directory when it is started, which are all the permissions that are provisioned, and those that need to be assigned to processes and process groups. When the application installs, it extracts the requested permissions to the package information (packageparser.package), and then generates permission grant information after reading all the permission information. When permissions are granted, such as when the permissions are normal and dangerous, the application is granted directly, such as signature, to check if the application signing claims permission is the same as the application that requested the permission. Signatureorsystem checks the signature and checks to see if it is a system application.
Android system Rights Management