summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2020-03-18 04:22:56 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-03-18 04:22:56 +0000
commitfefe581967548e9bc1d6269ba084c98b6171a1a5 (patch)
tree09e12034d0822d3a6893407baf4d78e163e36ad2
parentbc307a76beb5a03f521acf74d9d8927b1e899cee (diff)
parent729b482bbdc07834a2a9df266f0f978e3bcd3d1c (diff)
downloaddevice_google_car-fefe581967548e9bc1d6269ba084c98b6171a1a5.tar.gz
device_google_car-fefe581967548e9bc1d6269ba084c98b6171a1a5.tar.bz2
device_google_car-fefe581967548e9bc1d6269ba084c98b6171a1a5.zip
Fixed some blueline references that were pointing to crosshatch. am: e79a8cf8f6 am: 729b482bbd
Change-Id: I0e649a7e5e966074e24bef0b86770bcb38c6bee8
-rw-r--r--blueline_car/aosp_blueline_car.mk7
-rw-r--r--blueline_car/device-blueline-car.mk12
-rw-r--r--blueline_car/device-common.mk2
-rw-r--r--blueline_car/overlay/packages/services/Car/service/res/values/config.xml26
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>