<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2025 The Android Open Source 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 xmlns:android="http://schemas.android.com/apk/res/android">
    <bool name="config_enableScalableUI" translatable="false">true</bool>
    <bool name="config_enableClearBackStack" translatable="false">false</bool>
    <integer name="config_systemBarSuwBehavior">1</integer>
    <string name="system_bar_app_drawer_intent" translatable="false">intent:#Intent;action=com.android.car.carlauncher.ACTION_APP_GRID;package=com.android.car.portraitlauncher;launchFlags=0x24000000;end</string>

    <array name="window_states">
        <item>@xml/app_panel</item>
        <item>@xml/app_grid_panel</item>
        <item>@xml/map_panel</item>
        <item>@xml/contextual_bar_panel</item>
        <item>@xml/calm_mode_panel</item>
    </array>

    <array name="window_states" android:featureFlag="com.android.car.scalableui.enable_ext_panel_updates">
        <item>@xml/app_panel</item>
        <item>@xml/app_grid_panel</item>
        <item>@xml/map_panel</item>
        <item>@xml/contextual_bar_panel</item>
        <item>@xml/calm_mode_panel</item>
        <item>@xml/status_bar</item>
        <item>@xml/nav_bar</item>
    </array>

    <string-array name="config_untrimmable_activities" translatable="false">
        <item>@string/contextual_bar_component</item>
    </string-array>

    <!-- TODO(b/451816377): supports OEM token on gsi build -->
    <string-array name="config_default_activities" translatable="false">
        <!-- <item>app_grid_panel;com.android.car.portraitlauncher/com.android.car.carlauncher.AppGridActivity</item>
        <item>map_panel;com.android.car.portraitlauncher/.homeactivities.BackgroundPanelBaseActivity</item>
        <item>widget_panel;com.android.car.portraitlauncher/.controlbar.ControlBarActivity</item> -->
    </string-array>

    <!-- Setup and add safe area and toolbar per display on for Display Compat apps . -->
    <bool name="config_enableSafeAreaAndToolbarPerDisplay">false</bool>

    <!-- Configure which system bars should be displayed. -->
    <bool name="config_enableTopSystemBar">true</bool>
    <bool name="config_enableTopSystemBar" android:featureFlag="com.android.car.scalableui.enable_ext_panel_updates">false</bool>
    <bool name="config_enableBottomSystemBar">true</bool>
    <bool name="config_enableBottomSystemBar" android:featureFlag="com.android.car.scalableui.enable_ext_panel_updates">false</bool>

    <!-- Location of the system bar privacy indicator. This value should be consistent with the
         system bar where the view for system bar privacy indicator is put. -->
    <string name="config_privacyIndicatorLocation" android:featureFlag="com.android.car.scalableui.enable_ext_panel_updates">status</string>
</resources>