Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e635fa6c authored by Mateusz Cicheński's avatar Mateusz Cicheński
Browse files

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
parent d33c5e3d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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.