DO NOT MERGE Add fake 30.0 prebuilts
This prebuilt is based on the AOSP policy, but slightly manipulated so
that the set of types and attributes are identical with R policy.
Following types are removed.
boot_status_prop
dalvik_config_prop
gnss_device
surfaceflinger_color_prop
surfaceflinger_prop
systemsound_config_prop
vold_config_prop
vold_status_prop
Following type is renamed.
wificond_service -> wifinl80211_service
Bug: 153661471
Test: N/A
Change-Id: I018d5e43f53c2bf721db1d13f5f4be42b9782b29
diff --git a/private/compat/29.0/29.0.cil b/private/compat/29.0/29.0.cil
index 64b2a1b..8340c76 100644
--- a/private/compat/29.0/29.0.cil
+++ b/private/compat/29.0/29.0.cil
@@ -12,6 +12,7 @@
(type perfprofd_data_file)
(type perfprofd_service)
(type sysfs_mac_address)
+(type wificond_service)
(expandtypeattribute (accessibility_service_29_0) true)
(expandtypeattribute (account_service_29_0) true)
@@ -1957,7 +1958,7 @@
(typeattributeset wifiaware_service_29_0 (wifiaware_service))
(typeattributeset wificond_29_0 (wificond))
(typeattributeset wificond_exec_29_0 (wificond_exec))
-(typeattributeset wificond_service_29_0 (wificond_service))
+(typeattributeset wificond_service_29_0 (wificond_service wifinl80211_service))
(typeattributeset wifi_data_file_29_0 (wifi_data_file))
(typeattributeset wifi_log_prop_29_0 (wifi_log_prop))
(typeattributeset wifip2p_service_29_0 (wifip2p_service))
diff --git a/private/service_contexts b/private/service_contexts
index d345073..d17b4a5 100644
--- a/private/service_contexts
+++ b/private/service_contexts
@@ -242,7 +242,7 @@
wifip2p u:object_r:wifip2p_service:s0
wifiscanner u:object_r:wifiscanner_service:s0
wifi u:object_r:wifi_service:s0
-wificond u:object_r:wificond_service:s0
+wificond u:object_r:wifinl80211_service:s0
wifiaware u:object_r:wifiaware_service:s0
wifirtt u:object_r:rttmanager_service:s0
window u:object_r:window_service:s0
diff --git a/private/system_server.te b/private/system_server.te
index 67a1f3c..e9f57f1 100644
--- a/private/system_server.te
+++ b/private/system_server.te
@@ -782,7 +782,7 @@
allow system_server surfaceflinger_service:service_manager find;
allow system_server update_engine_service:service_manager find;
allow system_server vold_service:service_manager find;
-allow system_server wificond_service:service_manager find;
+allow system_server wifinl80211_service:service_manager find;
add_service(system_server, batteryproperties_service)