diff options
author | felipeal <felipeal@google.com> | 2020-03-19 09:14:20 -0700 |
---|---|---|
committer | felipeal <felipeal@google.com> | 2020-03-19 09:15:41 -0700 |
commit | 9e7a30d4e8985cd693f8e7584328651d5105db13 (patch) | |
tree | fff81a8d2bcf393e56614adbe7266a8f559c2cd7 | |
parent | e79a8cf8f60609ee3dc2acfa0d5ec7724a39ee06 (diff) | |
download | device_google_car-9e7a30d4e8985cd693f8e7584328651d5105db13.tar.gz device_google_car-9e7a30d4e8985cd693f8e7584328651d5105db13.tar.bz2 device_google_car-9e7a30d4e8985cd693f8e7584328651d5105db13.zip |
Tuned some car-specific settings on flame_car:
- Increased number of pre-created guests.
- Added missing overlay.
Bug: 151266160
Test: manual verification
Change-Id: I81e65a174c117c8a7aac1b7ff8c5bda8346d4189
-rw-r--r-- | flame_car/aosp_flame_car.mk | 2 | ||||
-rw-r--r-- | flame_car/overlay/packages/services/Car/service/res/values/config.xml | 26 |
2 files changed, 27 insertions, 1 deletions
diff --git a/flame_car/aosp_flame_car.mk b/flame_car/aosp_flame_car.mk index 46d1252..96859ae 100644 --- a/flame_car/aosp_flame_car.mk +++ b/flame_car/aosp_flame_car.mk @@ -60,7 +60,7 @@ PRODUCT_PACKAGE_OVERLAYS += device/google_car/flame_car/overlay # Pre-create users PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ android.car.number_pre_created_users=1 \ - android.car.number_pre_created_guests=1 + android.car.number_pre_created_guests=2 # Enable landscape PRODUCT_COPY_FILES += \ diff --git a/flame_car/overlay/packages/services/Car/service/res/values/config.xml b/flame_car/overlay/packages/services/Car/service/res/values/config.xml new file mode 100644 index 0000000..8116e7b --- /dev/null +++ b/flame_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> |