Allow system apps to read and write
/data/misc/connectivityblobdb/

The Settings app is expected to read and
write to the wifi database file.

Bug: 304553176
Test: Manual test
       1. Add a call in the Settings app
          to WifiKeystore#put().
       2. Open the Settings app.
       3. Verify that the call succeeds.
Change-Id: I0d48dd155f93c3cd25b5c422fe0174bcdbe0a727
diff --git a/private/system_app.te b/private/system_app.te
index 338d852..9795746 100644
--- a/private/system_app.te
+++ b/private/system_app.te
@@ -177,6 +177,10 @@
 # Settings and Launcher apps read pm.archiving.enabled
 get_prop(system_app, pm_archiving_enabled_prop)
 
+# Settings app reads and writes the wifi blob database
+allow system_app connectivityblob_data_file:dir rw_dir_perms;
+allow system_app connectivityblob_data_file:file create_file_perms;
+
 ###
 ### Neverallow rules
 ###