<?xml version="1.0" encoding="utf-8"?>
<!--
    Copyright (C) 2020 The Proton AOSP Project
                  2022 The LineageOS Project

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<resources>
    <string-array name="configs_base">
        <!--
            System
        -->

        <!-- Use new privacy indicators for location -->
        <item>privacy/location_indicators_enabled=true</item>
        <!-- Allow users to disable location indicators in Developer Options -->
        <item>privacy/location_indicator_settings_enabled=true</item>

        <!--
            Keep track of more app ops for privacy dashboard display.

            From AppOpsManager.RUNTIME_AND_APPOP_PERMISSIONS_OPS:
            Location: COARSE_LOCATION, FINE_LOCATION
            Camera: CAMERA
            Microphone: RECORD_AUDIO
            Calendar: READ_CALENDAR, WRITE_CALENDAR
            Call logs: READ_CALL_LOG, WRITE_CALL_LOG
            Contacts: READ_CONTACTS, WRITE_CONTACTS, GET_ACCOUNTS
            Files and media: READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE, ACCESS_MEDIA_LOCATION
            Nearby devices: BLUETOOTH_SCAN, BLUETOOTH_CONNECT, BLUETOOTH_ADVERTISE, UWB_RANGING
            Phone: READ_PHONE_STATE, READ_PHONE_NUMBERS, CALL_PHONE, READ_CALL_LOG, WRITE_CALL_LOG, ADD_VOICEMAIL, USE_SIP, PROCESS_OUTGOING_CALLS, ANSWER_PHONE_CALLS, ACCEPT_HANDOVER
            Body sensors: ACTIVITY_RECOGNITION
            SMS: SEND_SMS, RECEIVE_SMS, READ_SMS, RECEIVE_WAP_PUSH, RECEIVE_MMS, READ_CELL_BROADCASTS

            From PrivacyItemController:
            Camera: PHONE_CALL_CAMERA
            Microphone: PHONE_CALL_MICROPHONE
        -->
        <item>privacy/discrete_history_ops_cslist=0,109,1,108,26,101,27,102,106,100,8,9,6,7,4,5,62,59,60,90,77,111,114,112,51,65,13,6,7,52,53,54,69,74,79,113,20,16,14,19,18,57</item>

        <!-- Disable always screen on -->
        <item>attention_manager_service/keep_screen_on_enabled=false</item>

        <!-- Media Provider -->
        <item>mediaprovider/allowed_cloud_providers=com.google.android.apps.photos.cloudpicker</item>

        <!-- Autofill compatibility apps -->
        <item>autofill/compat_mode_allowed_packages=com.android.chrome[url_bar]:com.brave.browser[url_bar]:com.brave.browser_beta[url_bar]:com.brave.browser_nightly[url_bar]:com.chrome.beta[url_bar]:com.chrome.dev[url_bar]:com.chrome.canary[url_bar]:com.microsoft.emmx[url_bar]:com.microsoft.emmx.beta[url_bar]:com.microsoft.emmx.canary[url_bar]:com.microsoft.emmx.dev[url_bar]:com.opera.browser[url_field]:com.opera.browser.beta[url_bar]:com.opera.mini.native[url_bar]:com.opera.mini.native.beta[url_bar]:com.sec.android.app.sbrowser[location_bar_edit_text]:com.sec.android.app.sbrowser.beta[location_bar_edit_text]:org.mozilla.fennec_aurora[url_bar]:org.mozilla.firefox[url_bar]:org.mozilla.firefox_beta[url_bar]:org.chromium.chrome[url_bar]</item>

        <!-- For SeedVault Backup -->
        <item>backup_and_restore/backup_transport_future_timeout_millis=900000</item>
        <item>backup_and_restore/backup_transport_callback_timeout_millis=900000</item>
    </string-array>
</resources>
