Allow gatekeeperd to read ro.gsid.image_running.

Bug: 123716647
Test: PIN authentication works after booting into a GSI
Change-Id: Id1af1e207988eedbcce5e530c167994bf34cf7e2
This commit is contained in:
David Anderson 2019-02-15 16:12:23 -08:00
parent 8fe3c74654
commit 8c9f1e4119

View File

@ -35,4 +35,7 @@ allow gatekeeperd gatekeeper_data_file:file create_file_perms;
# For hardware properties retrieval
allow gatekeeperd hardware_properties_service:service_manager find;
# For checking whether GSI is running
get_prop(gatekeeperd, gsid_prop)
r_dir_file(gatekeeperd, cgroup)