Merge pull request #193 from DarkJoker360/android-10.0

Address charger denials on Huawei devices
This commit is contained in:
Pierre-Hugues HUSSON 2020-06-24 22:06:01 +02:00 committed by GitHub
commit edd1355309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,3 +9,5 @@ allow hal_fingerprint_server sysfs:file rw_file_perms;
type oeminfo_nvm, domain; type oeminfo_nvm, domain;
type oeminfo_nvm_device, file_type; type oeminfo_nvm_device, file_type;
allowxperm oeminfo_nvm oeminfo_nvm_device:blk_file ioctl { 0x1260 }; allowxperm oeminfo_nvm oeminfo_nvm_device:blk_file ioctl { 0x1260 };
allow charger rootfs:file { ioctl read getattr lock map execute entrypoint open };