summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-04 00:01:39 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-02-04 00:01:39 +0000
commit699d4b3df7f0161836da4df520fe07f8bdf78ff9 (patch)
treec205e3a6505cb5f32027366d7e7060c4b47291c9
parentdb642d955d787b6c6923767a0d13712c550fd38a (diff)
parent34be988f75cbb55f6d2190514a874326d7f16496 (diff)
downloadgoogle_car-android12-qpr3-s2-release.tar.gz
Change-Id: Ib7906f2a77e30076db9997f94a8725aa7dd7ee88
-rw-r--r--common/overlay/frameworks/base/core/res/res/values/config.xml15
-rw-r--r--common/post_google_car.mk3
2 files changed, 17 insertions, 1 deletions
diff --git a/common/overlay/frameworks/base/core/res/res/values/config.xml b/common/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..e69f5e1
--- /dev/null
+++ b/common/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,15 @@
+<resources>
+<!-- Control the behavior when the user long presses the power button.
+ 0 - Nothing
+ 1 - Global actions menu
+ 2 - Power off (with confirmation)
+ 3 - Power off (without confirmation)
+ 4 - Go to voice assist
+ -->
+ <integer name="config_longPressOnPowerBehavior">1</integer>
+
+ <bool name="config_single_volume">true</bool>
+
+ <!-- Disable lockscreen sound effect -->
+ <integer name="def_lockscreen_sounds_enabled">0</integer>
+</resources>
diff --git a/common/post_google_car.mk b/common/post_google_car.mk
index 300cf0e..ab5456b 100644
--- a/common/post_google_car.mk
+++ b/common/post_google_car.mk
@@ -43,7 +43,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_PROPERTY_OVERRIDES += \
ro.boot.wificountrycode=00 \
+ ro.config.media_vol_default=0 \
log.tag.CarTrustAgentUnlockEvent=I
# Phone car targets don't support ramdump
-EXCLUDE_BUILD_RAMDUMP_UPLOADER_DEBUG_TOOL := true \ No newline at end of file
+EXCLUDE_BUILD_RAMDUMP_UPLOADER_DEBUG_TOOL := true