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
This commit is contained in:
@@ -794,10 +794,10 @@
|
||||
|
||||
<!-- Control whether to launch Car dock home app when user presses home button or when
|
||||
car dock intent is fired.
|
||||
In mobile device, usually separate home app is expected in car mode, and 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). -->
|
||||
<bool name="config_enableCarDockHomeLaunch">true</bool>
|
||||
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. -->
|
||||
<bool name="config_enableCarDockHomeLaunch">false</bool>
|
||||
|
||||
<!-- Control whether to force apps to give up control over the display of system bars at all
|
||||
times regardless of System Ui Flags.
|
||||
|
||||
Reference in New Issue
Block a user