By default, both Wi-Fi and Data rules/options are allowed. When the user disables either one or both rules/options, the app will only then be saved to the settings file and when exporting data.
For example: The user disables the Wi-Fi rule/option of the package com.google.android.gms → it is saved to the settings file and when exporting data:
"com.google.android.gms_data": true,
"com.google.android.gms_wifi": false
→ the user re-enables the Wi-Fi rule/option (equivalent to resetting to default) → the package com.google.android.gms is removed from the settings file and when exporting data.
By default, both Wi-Fi and Data rules/options are allowed. When the user disables either one or both rules/options, the app will only then be saved to the settings file and when exporting data.
For example: The user disables the Wi-Fi rule/option of the package
com.google.android.gms→ it is saved to the settings file and when exporting data:→ the user re-enables the Wi-Fi rule/option (equivalent to resetting to default) → the package
com.google.android.gmsis removed from the settings file and when exporting data.