diff options
-rw-r--r-- | blueline_car/aosp_blueline_car.mk | 7 | ||||
-rw-r--r-- | blueline_car/device-blueline-car.mk | 12 | ||||
-rw-r--r-- | blueline_car/device-common.mk | 2 | ||||
-rw-r--r-- | blueline_car/overlay/packages/services/Car/service/res/values/config.xml | 26 |
4 files changed, 39 insertions, 8 deletions
diff --git a/blueline_car/aosp_blueline_car.mk b/blueline_car/aosp_blueline_car.mk index bbe5103..24343aa 100644 --- a/blueline_car/aosp_blueline_car.mk +++ b/blueline_car/aosp_blueline_car.mk @@ -60,6 +60,13 @@ PRODUCT_COPY_FILES += \ PRODUCT_PROPERTY_OVERRIDES += \ dalvik.vm.heapgrowthlimit=256m +PRODUCT_PACKAGE_OVERLAYS += device/google_car/blueline_car/overlay + +# Pre-create users +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ + android.car.number_pre_created_users=1 \ + android.car.number_pre_created_guests=2 + # Enable landscape PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.screen.landscape.xml:system/etc/permissions/android.hardware.screen.landscape.xml diff --git a/blueline_car/device-blueline-car.mk b/blueline_car/device-blueline-car.mk index c968d9a..aad8cd3 100644 --- a/blueline_car/device-blueline-car.mk +++ b/blueline_car/device-blueline-car.mk @@ -20,18 +20,18 @@ $(call inherit-product, packages/services/Car/car_product/build/car.mk) include device/google_car/blueline_car/device-common.mk PRODUCT_COPY_FILES += \ - device/google/crosshatch/init.insmod.crosshatch.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg + device/google/crosshatch/init.insmod.blueline.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg -DEVICE_PACKAGE_OVERLAYS += device/google/crosshatch/crosshatch/overlay +DEVICE_PACKAGE_OVERLAYS += device/google/crosshatch/blueline/overlay # Audio XMLs PRODUCT_COPY_FILES += \ - device/google/crosshatch/mixer_paths_tavil_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil_c1.xml \ - device/google/crosshatch/audio_policy_volumes_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ - device/google/crosshatch/audio_platform_info_tavil_c1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tavil_c1.xml + device/google/crosshatch/mixer_paths_tavil_b1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil_b1.xml \ + device/google/crosshatch/audio_policy_volumes_b1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ + device/google/crosshatch/audio_platform_info_tavil_b1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_tavil_b1.xml PRODUCT_COPY_FILES += \ - device/google/crosshatch/nfc/libnfc-nxp.crosshatch.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf + device/google/crosshatch/nfc/libnfc-nxp.blueline.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf PRODUCT_PACKAGES += \ NoCutoutOverlay diff --git a/blueline_car/device-common.mk b/blueline_car/device-common.mk index a9f06df..92e2120 100644 --- a/blueline_car/device-common.mk +++ b/blueline_car/device-common.mk @@ -16,8 +16,6 @@ TARGET_USERIMAGES_USE_F2FS := true -LOCAL_PATH := device/google/crosshatch - # define hardware platform PRODUCT_PLATFORM := sdm845 diff --git a/blueline_car/overlay/packages/services/Car/service/res/values/config.xml b/blueline_car/overlay/packages/services/Car/service/res/values/config.xml new file mode 100644 index 0000000..8116e7b --- /dev/null +++ b/blueline_car/overlay/packages/services/Car/service/res/values/config.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2020, 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 to configure car service based on each OEM's preference. --> + +<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Disable switching the user while the system is resuming from Suspend to RAM. + This default says to prevent changing the user during Resume. --> + <bool name="config_disableUserSwitchDuringResume" translatable="false">false</bool> +</resources> |