diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-13 02:09:53 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-13 02:09:53 +0000 |
commit | 0e7802f0d2e4819e0f11964294d05a1b9329cc34 (patch) | |
tree | cec6a7675ee20b5843f53087efdb932173cabcab | |
parent | 675e00fc704164b5d00266ee0fee8579f6559516 (diff) | |
parent | 12e9cd8ead98e4f62e2616d11ebc38fca2db4a3a (diff) | |
download | google_car-0e7802f0d2e4819e0f11964294d05a1b9329cc34.tar.gz |
Tuned some car-specific settings on coral_car: am: 12e9cd8ead
Change-Id: I71100b31e18355fc3f0cfd8abfb1caa88005dbda
-rw-r--r-- | coral_car/aosp_coral_car.mk | 7 | ||||
-rw-r--r-- | coral_car/overlay/packages/services/Car/service/res/values/config.xml | 26 |
2 files changed, 33 insertions, 0 deletions
diff --git a/coral_car/aosp_coral_car.mk b/coral_car/aosp_coral_car.mk index cc5b8b9..385cd76 100644 --- a/coral_car/aosp_coral_car.mk +++ b/coral_car/aosp_coral_car.mk @@ -55,6 +55,13 @@ PRODUCT_COPY_FILES += \ PRODUCT_PROPERTY_OVERRIDES += \ dalvik.vm.heapgrowthlimit=256m +PRODUCT_PACKAGE_OVERLAYS += device/google_car/coral_car/overlay + +# Pre-create users +PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ + android.car.number_pre_created_users=1 \ + android.car.number_pre_created_guests=1 + # 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/coral_car/overlay/packages/services/Car/service/res/values/config.xml b/coral_car/overlay/packages/services/Car/service/res/values/config.xml new file mode 100644 index 0000000..8116e7b --- /dev/null +++ b/coral_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> |