From e635fa6cb22607b5931792b4feba788285b1031b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Ciche=C5=84ski?= Date: Tue, 9 May 2023 00:26:30 +0000 Subject: [PATCH] Allow entering PiP when pressing home while in car mode. When system is in UI_MODE_TYPE_CAR pressing home button will relaunch the driving mode overlay (aka gearhead/Morris Mini), which is a full screen translucent activity. In that specific scenario if there is an app that can enter PiP mode we should still allow that transition. Bug: 276850167 Test: manually, in 3 button nav mode open Maps, start navigating, swipe up to bring system nav bar and press home button there, Maps will enter PiP mode. Change-Id: Ic0037f81474e30e8c553c593dc73488072fe5a6e --- core/res/res/values/config.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 17d84021816f3..91fa39fd1a276 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -794,10 +794,10 @@ - true + For devices where a separate home app is expected in car mode this should be enabled. + But in environments like real car, default home app may be enough, and in that case + this can be disabled (set to false). Defaults to false on mobile devices. --> + false